def testBoolOpt4 (self): opt = BooleanOption (self.config, u"Test", u"Boolval3", False) newopt = BooleanOption (self.config, u"Test", u"Boolval3", False) opt.value = True self.assertEqual (newopt.value, True)
def testBoolOpt3 (self): opt = BooleanOption (self.config, u"Test", u"Boolval3", False) opt.value = True newconfig = Config (self.path) newopt = BooleanOption (newconfig, u"Test", u"Boolval3", False) self.assertEqual (newopt.value, True)