diff options
author | shizhihui <zhihui.shi@easystack.cn> | 2016-07-26 20:13:26 +0800 |
---|---|---|
committer | shizhihui <zhihui.shi@easystack.cn> | 2016-08-02 18:09:42 +0800 |
commit | 2633f03b58f7d65b0be47245014fac47c49a1929 (patch) | |
tree | a3da04506c676826c7a580110dc43ea291f109db /heatclient/tests/unit | |
parent | 1c85ce9f5ae8da5eee987f99872c0d1aa9fb0f3c (diff) | |
download | python-heatclient-2633f03b58f7d65b0be47245014fac47c49a1929.tar.gz |
Remove unused function
During the code,the function assertDictEqual() seems no use,
so,I decide to remove it.
Change-Id: Ib06d9af64b24d27d506d2ca554bfe1408ed79c2b
Diffstat (limited to 'heatclient/tests/unit')
-rw-r--r-- | heatclient/tests/unit/osc/utils.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/heatclient/tests/unit/osc/utils.py b/heatclient/tests/unit/osc/utils.py index a3e5aaf..e2ed52e 100644 --- a/heatclient/tests/unit/osc/utils.py +++ b/heatclient/tests/unit/osc/utils.py @@ -56,19 +56,6 @@ class TestCase(testtools.TestCase): standardMsg = '%s is not an instance of %r' % (obj, cls) self.fail(self._formatMessage(msg, standardMsg)) - def assertDictEqual(self, d1, d2, msg=None): - # Simple version taken from 2.7 - self.assertIsInstance(d1, dict, - 'First argument is not a dictionary') - self.assertIsInstance(d2, dict, - 'Second argument is not a dictionary') - if d1 != d2: - if msg: - self.fail(msg) - else: - standardMsg = '%r != %r' % (d1, d2) - self.fail(standardMsg) - class TestCommand(TestCase): """Test cliff command classes""" |