Skip to content

Commit

Permalink
chore: skip watch test on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Jun 25, 2017
1 parent ec6d57d commit 3b2a64f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_watch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import dramatiq
import os
import platform
import pytest
import time
Expand All @@ -20,6 +21,7 @@ def write_loaded_at(filename):
f.write(str(loaded_at))


@pytest.mark.skipif(os.getenv("TRAVIS") == "1", reason="test skipped on Travis")
@pytest.mark.skipif(_current_platform == "PyPy", reason="Code reloading is not supported on PyPy.")
def test_cli_can_watch_for_source_code_changes(start_cli):
# Given that I have a shared file the processes can use to communicate with
Expand Down Expand Up @@ -49,7 +51,6 @@ def test_cli_can_watch_for_source_code_changes(start_cli):
# Then write another timestamp
write_loaded_at.send(filename)
broker.join(write_loaded_at.queue_name)
time.sleep(1)

# I expect another timestamp to have been written to the file
with open(filename, "r") as f:
Expand Down

0 comments on commit 3b2a64f

Please sign in to comment.