mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix ToolConfWatcher test: can only watch existing files
This commit is contained in:
@@ -40,6 +40,7 @@ def test_tool_conf_watcher():
|
||||
|
||||
with __test_directory() as t:
|
||||
tool_conf_path = path.join(t, "test_conf.xml")
|
||||
open(tool_conf_path, "w").write("a")
|
||||
conf_watcher.watch_file(tool_conf_path)
|
||||
time.sleep(1)
|
||||
open(tool_conf_path, "w").write("b")
|
||||
|
||||
Reference in New Issue
Block a user