Skip to content

Commit

Permalink
Fix ToolConfWatcher test: can only watch existing files
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Mar 24, 2017
1 parent ad68b15 commit c91c988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/tools/test_watcher.py
Expand Up @@ -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")
Expand Down

0 comments on commit c91c988

Please sign in to comment.