Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Commit

Permalink
Assert explicit path
Browse files Browse the repository at this point in the history
  • Loading branch information
d3ming committed Dec 9, 2015
1 parent 8071cee commit 454f93f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tagcompare/test/test_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ def compare_configs(pathbuilder, configs):
"""
testpath = os.path.join(os.path.abspath(
os.path.dirname(__file__)), 'test_compare')
build = "testbuild"
cid = 477944
pb = output.PathBuilder(basepath=testpath,
build="testbuild", cid=477944)
build=build, cid=cid)
build_path_expected = os.path.join(testpath, build)
assert pb.path == build_path_expected, "Incorrect build path!"
__test_compare_configs(pb, configs=["chrome", "chrome_beta"],
expected_errors=0, expected_total=4, expected_skips=0)
__test_compare_configs(pb, configs=["chrome", "firefox"],
Expand Down

0 comments on commit 454f93f

Please sign in to comment.