

def assert_count(self, model, expected_count, **kwargs):
    self.assertEquals(model.objects(**kwargs).count(), expected_count)

dataset/ETHPy150Open dchaplinsky/unshred-tag/tests/fixtures.py FixturesTest.assert_count/original