@@ -0,0 +1,467 @@
+#!/usr/bin/env python3%0A# -*- coding: utf-8 -*-%0A%0Afrom www.static.been import User%0Afrom www.static.orm import create_pool%0Aimport asyncio%0A%0A%0A%0Aasync def test_save():%0A    user = User(id=3, name=%22Caisw%22)%0A    await user.save()%0A%0A%0Aasync def test_find():%0A    user = await User.findAll()%0A    print(user)%0A%0A%0Aloop = asyncio.get_event_loop()%0Aloop.run_until_complete(create_pool(loop,user=%22root%22,db=%22test%22))%0A# loop.run_until_complete(test_save())%0Aloop.run_until_complete(test_find())%0A

添加了测试orm的测试类testorm.py