コード例 #1
0
 def test_load_without_statefile(self):
     persistent._setState(None)
     self.state.statefile = None
     self.assertRaises(persistent.MissingState, persistent.load)
コード例 #2
0
 def test_load_without_statefile(self):
     persistent._setState(None)
     self.state.statefile = None
     self.assertRaises(persistent.MissingState,
                       persistent.load)
コード例 #3
0
 def test_load_with_None(self):
     persistent._setState(None)
     self.assertRaises(persistent.MissingState, persistent.load, None)
コード例 #4
0
 def test_load_with_None(self):
     persistent._setState(None)
     self.assertRaises(persistent.MissingState,
                       persistent.load, None)