Beispiel #1
0
 def test_load_without_statefile(self):
     persistent._setState(None)
     self.state.statefile = None
     self.assertRaises(persistent.MissingState, persistent.load)
 def test_load_without_statefile(self):
     persistent._setState(None)
     self.state.statefile = None
     self.assertRaises(persistent.MissingState,
                       persistent.load)
Beispiel #3
0
 def test_load_with_None(self):
     persistent._setState(None)
     self.assertRaises(persistent.MissingState, persistent.load, None)
 def test_load_with_None(self):
     persistent._setState(None)
     self.assertRaises(persistent.MissingState,
                       persistent.load, None)