From 0c1a344e61f9e28d79c035276fd973d44a06b90b Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Sat, 9 Jan 2016 22:54:45 +0530 Subject: [PATCH] In test_env, check both utils and plugin env --- tests/test_plugin/test_plugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_plugin/test_plugin.py b/tests/test_plugin/test_plugin.py index 353fbcb..177577e 100644 --- a/tests/test_plugin/test_plugin.py +++ b/tests/test_plugin/test_plugin.py @@ -99,5 +99,8 @@ def test_env_redis_1(): reload_2_3(pytest_gui_status.status_plugin.plugin) reload_2_3(status_plugin) + redis_cmd_final = pytest_gui_status.utils.command_redis_server + assert(redis_cmd_final == "test_redis --port 1234 --test_arg = test_val") + redis_cmd_final = status_plugin.command_redis_server assert(redis_cmd_final == "test_redis --port 1234 --test_arg = test_val")