def test_contains_normal(self): c = Configuration() c.set(self.fullparam, self.value) self.assertTrue(c.contains(self.fullparam)) self.assertTrue(c.contains(self.fullparam, ignoreDefault=True))
def test_contains_default(self): c = Configuration() c.set_default(self.fullparam, self.default_value) self.assertTrue(c.contains(self.fullparam)) self.assertFalse(c.contains(self.fullparam, ignoreDefault=True))
def test_contains(self): c = Configuration() self.assertFalse(c.contains(self.fullparam))