def test_has(self): self.assertFalse(Configuration.has('option')) Configuration.configuration['option'] = ConfigOption('option', str) self.assertTrue(Configuration.has('option'))
def test_has(self): assert Configuration.has('option') is False Configuration.configuration['option'] = ConfigOption('option', str) assert Configuration.has('option') is True