コード例 #1
0
ファイル: test_model.py プロジェクト: circulon/orm
 def test_can_find_first(self):
     profile = User.find(1)
コード例 #2
0
 def test_find_or_fail_raise_an_exception_if_not_exists(self):
     with self.assertRaises(ModelNotFound):
         User.find(100)