def test_keys(engine): result = await engine.execute(select([func.now().label('time')])) assert await result.keys() == ['time'] await result.close()