a couple more test_env references missed
@@ -22,7 +22,6 @@ def test_file_queue():
def test_template_queue():
""" Tests simulation of new/modified template """
- path_dirs = test_env.PathDirs()
os.environ['HOSTNAME'] = "test"
os.system('docker run -d alpine:3.5 /bin/sh -c "echo core hello world;"')
os.system('docker run --name core-template-queue1 -d alpine:3.5 /bin/sh -c "while true; do echo core hello world; sleep 1; done"')
@@ -43,8 +42,3 @@ def test_template_queue():
file_watch.template_queue("/collectors.template")
os.environ['HOSTNAME'] = subprocess.check_output('docker run --name visualization-template-queue2 -d alpine:3.5 /bin/sh -c "while true; do echo core hello world; sleep 1; done"', shell=True)[:4]
file_watch.template_queue("/visualization.template")
-
- file_watch.template_queue("/modes.template", base_dir=path_dirs.base_dir+"/")
- file_watch.template_queue("/core.template", base_dir=path_dirs.base_dir+"/")
- file_watch.template_queue("/collectors.template", base_dir=path_dirs.base_dir+"/")
- file_watch.template_queue("/visualization.template", base_dir=path_dirs.base_dir+"/")
