summaryrefslogtreecommitdiff
path: root/test/Repository
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:55:21 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 22:55:21 -0400
commite9697930e73c81fcad8f937a99a3d4aab766a28e (patch)
treecdb646db15d456108d929883b79c43231b5ff476 /test/Repository
parent89f322036dd77e2be055f4361559dcb7f0122d8a (diff)
downloadscons-e9697930e73c81fcad8f937a99a3d4aab766a28e.tar.gz
Fix byte issues, module import issue remains
Diffstat (limited to 'test/Repository')
-rw-r--r--test/Repository/Install-Local.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Repository/Install-Local.py b/test/Repository/Install-Local.py
index 36310438..fe64feb6 100644
--- a/test/Repository/Install-Local.py
+++ b/test/Repository/Install-Local.py
@@ -51,8 +51,8 @@ test.write(['repository', 'file2'], "repository/file2\n")
test.run(chdir = 'repository', options = opts, arguments = 'install')
-test.fail_test(test.read(repository_install_file1) != "repository/file1\n")
-test.fail_test(test.read(repository_install_file2) != "repository/file2\n")
+test.must_match(repository_install_file1, "repository/file1\n", mode='r')
+test.must_match(repository_install_file2, "repository/file2\n", mode='r')
test.up_to_date(chdir = 'repository', options = opts, arguments = 'install')
@@ -62,8 +62,8 @@ test.writable('repository', 0)
test.run(chdir = 'work', options = opts, arguments = 'install')
-test.fail_test(test.read(work_install_file1) != "repository/file1\n")
-test.fail_test(test.read(work_install_file2) != "repository/file2\n")
+test.must_match(work_install_file1, "repository/file1\n", mode='r')
+test.must_match(work_install_file2, "repository/file2\n", mode='r')
test.up_to_date(chdir = 'work', options = opts, arguments = 'install')
@@ -73,8 +73,8 @@ test.write(['work', 'file2'], "work/file2\n")
test.run(chdir = 'work', options = opts, arguments = 'install')
-test.fail_test(test.read(work_install_file1) != "work/file1\n")
-test.fail_test(test.read(work_install_file2) != "work/file2\n")
+test.must_match(work_install_file1, "work/file1\n", mode='r')
+test.must_match(work_install_file2, "work/file2\n", mode='r')
test.up_to_date(chdir = 'work', options = opts, arguments = 'install')