summaryrefslogtreecommitdiff
path: root/tests/sourcecache/push.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sourcecache/push.py')
-rw-r--r--tests/sourcecache/push.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sourcecache/push.py b/tests/sourcecache/push.py
index 771a94ca1..210bbfcff 100644
--- a/tests/sourcecache/push.py
+++ b/tests/sourcecache/push.py
@@ -84,7 +84,7 @@ def test_source_push_split(cli, tmpdir, datafiles):
project.ensure_fully_loaded()
element = project.load_elements(["push.bst"])[0]
- assert not element._source_cached()
+ assert not element._has_all_sources_in_source_cache()
source = list(element.sources())[0]
# check we don't have it in the current cache
@@ -133,7 +133,7 @@ def test_source_push(cli, tmpdir, datafiles):
project.ensure_fully_loaded()
element = project.load_elements(["push.bst"])[0]
- assert not element._source_cached()
+ assert not element._has_all_sources_in_source_cache()
source = list(element.sources())[0]
# check we don't have it in the current cache