diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-07-12 10:50:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-12 10:50:35 +0000 |
commit | c35fe95566156f9bec4c516f6e0cd9c79c96a492 (patch) | |
tree | eacea74a4d6e56fdf379144dcea9c1ed186a2455 /yardstick/benchmark/contexts/dummy.py | |
parent | bdd301b4b59fffc44d99ca2a631d9d8a81efdfa2 (diff) | |
parent | d8749639f376972447cf58ea3c9628dfd6b78ef3 (diff) |
Merge "Make context types constants"
Diffstat (limited to 'yardstick/benchmark/contexts/dummy.py')
-rw-r--r-- | yardstick/benchmark/contexts/dummy.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/yardstick/benchmark/contexts/dummy.py b/yardstick/benchmark/contexts/dummy.py index 36e8854e8..9faca4c63 100644 --- a/yardstick/benchmark/contexts/dummy.py +++ b/yardstick/benchmark/contexts/dummy.py @@ -7,17 +7,18 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -from yardstick.benchmark.contexts.base import Context +from yardstick.benchmark import contexts +from yardstick.benchmark.contexts import base -class DummyContext(Context): +class DummyContext(base.Context): """Class that handle dummy info. This class is also used to test the abstract class Context because it provides a minimal concrete implementation of a subclass. """ - __context_type__ = "Dummy" + __context_type__ = contexts.CONTEXT_DUMMY def deploy(self): """Don't need to deploy""" |