def test_delOptions(self): Config.delOption('Currency', u'USD') self.assertTrue('USD' not in Config.obj['Currency']['types']) Config.addOption('Currency', u'USD')
def test_addOptions(self): Config.addOption('Tag', u'+1') self.assertTrue('+1' in Config.obj['Tag']['types'])