

def test_import_shreds(self):
    self.assert_count(Cluster, 0)
    res = self.client.post(url_for('fixtures.create_shreds'))
    self.assert_success(res)
    res.assert_count(Cluster, 10)
    self.assert_count(Cluster, 9, batch='fixtures1')
    self.assert_count(Cluster, 1, batch='fixtures2')
    self.assert_count(Cluster, 0, batch='foobar')

dataset/ETHPy150Open dchaplinsky/unshred-tag/tests/fixtures.py FixturesTest.test_import_shreds/VarMisuse@40/56 `self`->`res`