Exemple #1
0
 def test_read_json_by_dict_pk(self):
     user = CRUD(self.session, User).read('{"id": 19}')
     self.assertEqual(user.one().id, 19)
Exemple #2
0
 def test_read_json_by_dict_pk(self):
     user = CRUD(self.session, User).read('{"id": 19}')
     self.assertEqual(user.one().id, 19)
Exemple #3
0
 def test_read_by_dict_pk(self):
     user = CRUD(self.session, User).read({'id': 19})
     self.assertEqual(user.one().id, 19)
Exemple #4
0
 def test_read_by_dict_pk(self):
     user = CRUD(self.session, User).read({'id': 19})
     self.assertEqual(user.one().id, 19)