summaryrefslogtreecommitdiff
path: root/tests/sourcecache/staging.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sourcecache/staging.py')
-rw-r--r--tests/sourcecache/staging.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/sourcecache/staging.py b/tests/sourcecache/staging.py
index b0cc03119..186a4bd9f 100644
--- a/tests/sourcecache/staging.py
+++ b/tests/sourcecache/staging.py
@@ -138,8 +138,7 @@ def test_staged_source_build(tmpdir, datafiles, cli):
element = project.load_elements(["import-dev.bst"])[0]
# check consistency of the source
- # local sources set BST_KEY_REQUIRES_STAGE so this is cached
- assert element._source_cached()
+ assert not element._source_cached()
res = cli.run(project=project_dir, args=['build', 'target.bst'])
res.assert_success()