diff options
| -rw-r--r-- | bindep.txt | 2 | ||||
| -rw-r--r-- | osprofiler/tests/functional/test_driver.py | 11 |
2 files changed, 13 insertions, 0 deletions
@@ -1 +1,3 @@ rabbitmq-server [test] +redis [test platform:rpm] +redis-server [test platform:dpkg] diff --git a/osprofiler/tests/functional/test_driver.py b/osprofiler/tests/functional/test_driver.py index 7a5d721..02b8d01 100644 --- a/osprofiler/tests/functional/test_driver.py +++ b/osprofiler/tests/functional/test_driver.py @@ -115,3 +115,14 @@ class DriverTestCase(test.FunctionalTestCase): self._assert_child_dict( cbaz, base_id, cbar["trace_id"], "rpc", "osprofiler.tests.functional.test_driver.Foo.baz") + + +class RedisDriverTestCase(DriverTestCase): + def setUp(self): + super(DriverTestCase, self).setUp() + CONF([]) + opts.set_defaults(CONF, + connection_string="redis://localhost:6379", + enabled=True, + trace_sqlalchemy=False, + hmac_keys="SECRET_KEY") |
