summaryrefslogtreecommitdiffstats
path: root/tests/test_backend_templated.py
diff options
context:
space:
mode:
authorMaru Newby <mnewby@internap.com>2012-03-22 14:11:18 -0700
committerMaru Newby <mnewby@internap.com>2012-03-27 13:55:14 -0700
commit1f3557af59ac60d2d9e72945e8a7dff0ab0a65e3 (patch)
tree43dc8db4502c13f70f68340c9e8df2077da57e37 /tests/test_backend_templated.py
parent53def36222a25942923013ea7b62b40d0f82e922 (diff)
downloadkeystone-1f3557af59ac60d2d9e72945e8a7dff0ab0a65e3.tar.gz
keystone-1f3557af59ac60d2d9e72945e8a7dff0ab0a65e3.tar.xz
keystone-1f3557af59ac60d2d9e72945e8a7dff0ab0a65e3.zip
Switch keystone.test.TestCase to use unittest2
* unittest2 is already a test dependency, and has a large number of improvements over unittest. The switch suggested removing TestCase assertions that already existed in unittest2's version and updating all subclasses to use the unittest2 equivalents. Change-Id: I024134ae7cade3b4951c7508c1ea50070762720f
Diffstat (limited to 'tests/test_backend_templated.py')
-rw-r--r--tests/test_backend_templated.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_backend_templated.py b/tests/test_backend_templated.py
index 3773cc99..735b68b7 100644
--- a/tests/test_backend_templated.py
+++ b/tests/test_backend_templated.py
@@ -54,4 +54,4 @@ class TestTemplatedCatalog(test.TestCase, test_backend.CatalogTests):
def test_get_catalog(self):
catalog_ref = self.catalog_api.get_catalog('foo', 'bar')
- self.assertDictEquals(catalog_ref, self.DEFAULT_FIXTURE)
+ self.assertDictEqual(catalog_ref, self.DEFAULT_FIXTURE)