diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-09 14:44:52 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-04-09 10:25:36 +0000 |
commit | 68cee1c77021402cca100812e8f1965482e8969c (patch) | |
tree | 45464ca7d6526cd5ada020361f3c6b92c9d35a17 | |
parent | 8bfc737125989fa2445d7ce217124f5cafb02db1 (diff) | |
download | buildstream-68cee1c77021402cca100812e8f1965482e8969c.tar.gz |
tests/frontend/workspace.py: Fixed test_build to make the right assertion
This was removing a file from the workspace, building, checking out,
and then asserting that the file is *still gone* in the workspace,
ignoring the same file in the checkout.
-rw-r--r-- | tests/frontend/workspace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index c1e11979a..b921ca1a0 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -278,7 +278,7 @@ def test_build(cli, tmpdir, datafiles, kind, strict): assert os.path.exists(filename) # Check that the original /usr/bin/hello is not in the checkout - assert not os.path.exists(os.path.join(workspace, 'usr', 'bin', 'hello')) + assert not os.path.exists(os.path.join(checkout, 'usr', 'bin', 'hello')) # Ensure that various versions that should not be accepted raise a |