def test_flush_echo(self):
        from alchemist import db

        capture = py.io.StdCapture(out=True, in_=False)
        db.flush(echo=True)
        out, err = capture.done()

        text = out.read()

        assert 'DELETE FROM' in text
        assert text in 'alchemist_tests_a_entity'
dataset/ETHPy150Open concordusapps/alchemist/alchemist/tests/test_db.py/TestFlushOperation.test_flush_echo/swapped operands of `in`