def test_has_table(engine, mytable): assert not await engine.has_table('mytable') await engine.execute(CreateTable(mytable)) assert await engine.has_table('mytable')