diff --git a/SAS/TMSS/test/test_utils.py b/SAS/TMSS/test/test_utils.py
index d6da3ff67933229c6063a436b757b76a87e650f3..95bbec3a5cf6b123fd123be5501feaeaa6e4bf60 100644
--- a/SAS/TMSS/test/test_utils.py
+++ b/SAS/TMSS/test/test_utils.py
@@ -501,7 +501,7 @@ def main_test_environment():
                              start_ra_test_environment=options.services, start_postgres_listener=options.services,
                              start_subtask_scheduler=options.services, start_dynamic_scheduler=options.services,
                              start_pipeline_control=options.services,
-                             start_workflow_service=options.services and options.viewflow, enable_workflow=options.viewflow) as tmss_test_env:
+                             start_workflow_service=options.services and options.viewflow, enable_viewflow=options.viewflow) as tmss_test_env:
 
             # print some nice info for the user to use the test servers...
             # use print instead of log for clean lines.