Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/d/u/dupeguru-HEAD/core/tests/results_test.py   dupeguru(Download)
        app = DupeGuru()
        r = Results(app)
        r.load_from_xml(f,get_file)
        assert not r.is_marked(self.objects[0])
        assert not r.is_marked(self.objects[1])
        app = DupeGuru()
        r = Results(app)
        r.load_from_xml(f,get_file)
        eq_(2,len(r.groups))
        g1,g2 = r.groups
        app = DupeGuru()
        r = Results(app)
        r.load_from_xml(filename,get_file)
        eq_(2,len(r.groups))
 
        app = DupeGuru()
        r = Results(app)
        r.load_from_xml(f,get_file)
        eq_(1,len(r.groups))
        eq_(3,len(r.groups[0]))
        app = DupeGuru()
        r = Results(app)
        r.load_from_xml(f, get_file)
        eq_(1,len(r.groups))
        eq_(3,len(r.groups[0]))