Exemple #1
0
 def test_from_dict3(self):
     self.assertEqual(Fields.from_dict({
         'date': 'test2',
         'datetime': 'test',
         'encrypted': 'test3'
     }), Fields(date_times=['test'], dates=['test2'], encrypted=['test3']))
Exemple #2
0
 def test_from_dict2(self):
     self.assertEqual(Fields.from_dict({
     }), Fields())