def test_flush_simple_model(self):
        session = yield self.data.create(self)
        deleted = yield session.query(Instrument).delete()
        yield self.async.assertEqual(session.query(Instrument).all(), [])
        yield self.async.assertEqual(session.query(Position).all(), [])
        keys = yield session.keys(Instrument)
        if self.backend == 'redis':
            self.assertTrue(len(keys) > 0)
.. todo::
dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/delete.py/TestDeleteScalarFields.test_flush_simple_model--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/dbm/ising.py/IsingVisible.make_state