Beispiel #1
0
 def test_is_pickable(self):
     m = DefaultsModel()
     m.save()
     try:
         pickle.dumps(m)
     except TypeError as e:
         self.fail('pickle of DefaultsModel failed: %s' % e)
 def test_is_pickable(self):
     m = DefaultsModel()
     m.save()
     try:
         pickle.dumps(m)
     except TypeError as e:
         self.fail('pickle of DefaultsModel failed: %s' % e)
Beispiel #3
0
 def test_default(self):
     m = DefaultsModel()
     m.save()
 def test_default(self):
     m = DefaultsModel()
     m.save()