mirror of
https://github.com/bendtherules/pytest_gui_status.git
synced 2026-08-18 21:52:18 +00:00
Ignore self as plugin while self test + minor cleanup
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
[pytest]
|
||||
norecursedirs = .* pytest_gui_status testcases
|
||||
addopts = -p no:gui_status
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
Todo
|
||||
------
|
||||
|
||||
** Add py.test -p no:gui_status while test**
|
||||
1. Allow config for template
|
||||
1.1. Test - env config for redis
|
||||
2. Add well-explained readme
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user