Example #1
0
 def test_can_find_first(self):
     profile = User.find(1)
Example #2
0
 def test_find_or_fail_raise_an_exception_if_not_exists(self):
     with self.assertRaises(ModelNotFound):
         User.find(100)