From c016d0910e466d7a0cb377a0031c7603be04fc92 Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Thu, 5 Oct 2017 23:53:07 -0700 Subject: [PATCH] Allow to specify resource name pattern via rally.conf This patch as well refactors the interface of RandomNameMixin instead of using cls variables we can now use as well method which can dynamically return the pattern name value. This is important because otherwise oslo.conf doesn't work =( Change-Id: Ib6af0c9784590e29634995d57e2e465a7b2dde5e --- tests/hacking/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hacking/checks.py b/tests/hacking/checks.py index b5a8cbed..eb349249 100644 --- a/tests/hacking/checks.py +++ b/tests/hacking/checks.py @@ -574,6 +574,8 @@ def check_opts_import_path(logical_line, physical_line, filename): """ excluded_files = ["./rally/osclients.py", "./rally/task/engine.py", + "./rally/task/context.py", + "./rally/task/scenario.py", "./rally/common/opts.py"] forbidden_methods = [".register_opts("]