diff options
Diffstat (limited to 'tests/test_extensions.py')
-rw-r--r-- | tests/test_extensions.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_extensions.py b/tests/test_extensions.py index a7be627..a21fd94 100644 --- a/tests/test_extensions.py +++ b/tests/test_extensions.py @@ -47,22 +47,6 @@ class TestExtensionClass(unittest.TestCase): # self.ext.setConfig('bad', 'baz) ==> KeyError self.assertRaises(KeyError, self.ext.setConfig, 'bad', 'baz') - def testConfigAsArgListOnInit(self): - ext = self.ExtKlass([('foo', 'baz'), ('bar', 'blah')]) - self.assertEqual(ext.getConfigs(), {'foo': 'baz', 'bar': 'blah'}) - - def testConfigAsArgDictOnInit(self): - ext = self.ExtKlass({'foo': 'baz', 'bar': 'blah', 'bar': 'blah'}) - self.assertEqual(ext.getConfigs(), {'foo': 'baz', 'bar': 'blah'}) - - def testConfigAsKwargListOnInit(self): - ext = self.ExtKlass(configs=[('foo', 'baz'), ('bar', 'blah')]) - self.assertEqual(ext.getConfigs(), {'foo': 'baz', 'bar': 'blah'}) - - def testConfigAsKwargDictOnInit(self): - ext = self.ExtKlass(configs={'foo': 'baz', 'bar': 'blah'}) - self.assertEqual(ext.getConfigs(), {'foo': 'baz', 'bar': 'blah'}) - def testConfigAsKwargsOnInit(self): ext = self.ExtKlass(foo='baz', bar='blah') self.assertEqual(ext.getConfigs(), {'foo': 'baz', 'bar': 'blah'}) |