Ignore self as plugin while self test + minor cleanup

This commit is contained in:
2015-12-29 22:46:14 +05:30
parent 1533bce400
commit 3351b20194
3 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -114,10 +114,9 @@ def test_intermediate_1(tmpdir):
"REDIS_ARGS": "--test_arg = test_val",
"PYTEST_STATUS_PORT": "1234"})
def test_env_redis_1():
# REDIS_PATH
# REDIS_ARGS
# REDIS_PORT
# del status_plugin
'''
Test that redis config via env variables - REDIS_PATH, REDIS_ARGS, PYTEST_STATUS_PORT work as intended.
'''
import pytest_gui_status.status_plugin.plugin
reload(pytest_gui_status.status_plugin.plugin)