From 6182053c4a89dbc12c1786e7062a416ccd154995 Mon Sep 17 00:00:00 2001 From: Matt Prahl Date: Fri, 9 Dec 2016 11:52:18 -0500 Subject: [PATCH] Add noserunner.py as a valid way to test MBS --- module_build_service/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/config.py b/module_build_service/config.py index 0568b459..35bbef6e 100644 --- a/module_build_service/config.py +++ b/module_build_service/config.py @@ -49,7 +49,7 @@ def _init_app_config(app): """ app.config.from_envvar("MBS_SETTINGS", silent=True) here = sys.path[0] - if any(['nosetests' in arg for arg in sys.argv]): + if any(['nosetests' in arg or 'noserunner.py' in arg for arg in sys.argv]): app.config.from_object('%s.TestConfiguration' % conf_module) elif 'MODULE_BUILD_SERVICE_DEVELOPER_ENV' in os.environ and \ os.environ['MODULE_BUILD_SERVICE_DEVELOPER_ENV'].lower() in (