aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/stevedore/tests/test_callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/stevedore/tests/test_callback.py')
-rw-r--r--libs/stevedore/tests/test_callback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/stevedore/tests/test_callback.py b/libs/stevedore/tests/test_callback.py
index c513aa220..877b31ee8 100644
--- a/libs/stevedore/tests/test_callback.py
+++ b/libs/stevedore/tests/test_callback.py
@@ -32,7 +32,7 @@ class TestCallback(utils.TestCase):
on_load_failure_callback=
failure_callback)
extensions = list(em.extensions)
- self.assertTrue(len(extensions), GreaterThan(0))
+ self.assertThat(len(extensions), GreaterThan(0))
self.assertEqual(len(errors), 2)
for manager, entrypoint, error in errors:
self.assertIs(manager, em)