Skip to content

Commit

Permalink
fix one more test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Feb 10, 2019
1 parent bd28b71 commit 8817864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,12 @@ def test(self):

class TestCmdRunCliMetrics(TestDvc):
def test_cached(self):
ret = main(["run", "-m", "metrics.txt", "echo 'test' > metrics.txt"])
ret = main(["run", "-m", "metrics.txt", "echo test > metrics.txt"])
self.assertEqual(ret, 0)
self.assertEqual(open("metrics.txt", "r").read().rstrip(), "test")

def test_not_cached(self):
ret = main(["run", "-M", "metrics.txt", "echo 'test' > metrics.txt"])
ret = main(["run", "-M", "metrics.txt", "echo test > metrics.txt"])
self.assertEqual(ret, 0)
self.assertEqual(open("metrics.txt", "r").read().rstrip(), "test")

Expand Down

0 comments on commit 8817864

Please sign in to comment.