In test_env, check both utils and plugin env

This commit is contained in:
2016-01-09 22:54:45 +05:30
parent 2a4c3fe0fe
commit 0c1a344e61
+3
View File
@@ -99,5 +99,8 @@ def test_env_redis_1():
reload_2_3(pytest_gui_status.status_plugin.plugin) reload_2_3(pytest_gui_status.status_plugin.plugin)
reload_2_3(status_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 redis_cmd_final = status_plugin.command_redis_server
assert(redis_cmd_final == "test_redis --port 1234 --test_arg = test_val") assert(redis_cmd_final == "test_redis --port 1234 --test_arg = test_val")