diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-13 02:55:21 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-13 02:55:21 (GMT) |
commit | 25335d29099874e0574a79d9a8644d66f1533838 (patch) | |
tree | cdb646db15d456108d929883b79c43231b5ff476 /test | |
parent | c18ff7c41334123ae82fc641eb62c258847f9f5f (diff) | |
download | SCons-25335d29099874e0574a79d9a8644d66f1533838.zip SCons-25335d29099874e0574a79d9a8644d66f1533838.tar.gz SCons-25335d29099874e0574a79d9a8644d66f1533838.tar.bz2 |
Fix byte issues, module import issue remains
Diffstat (limited to 'test')
-rw-r--r-- | test/Repository/Install-Local.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Repository/Install-Local.py b/test/Repository/Install-Local.py index 3631043..fe64feb 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') |