diff options
author | Jürg Billeter <j@bitron.ch> | 2019-02-27 11:04:35 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-02-28 14:05:47 +0100 |
commit | f928b342fd9bb64567f06b7b8f5305c0afb63c60 (patch) | |
tree | 57f2f12b944f781324673e7fce789e25fbbb38e4 | |
parent | 9c820c80c3181508792b0f435fa136ca589c4aae (diff) | |
download | buildstream-f928b342fd9bb64567f06b7b8f5305c0afb63c60.tar.gz |
tests/artifactcache/push.py: Use Directory._get_digest()
This is in preparation for lazy digest calculation.
-rw-r--r-- | tests/artifactcache/push.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 0a39f5344..703e42a28 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -238,7 +238,8 @@ def _test_push_directory(user_config_file, project_dir, artifact_digest, queue): # Push the CasBasedDirectory object cas.push_directory(project, directory) - queue.put(directory.ref.hash) + digest = directory._get_digest() + queue.put(digest.hash) else: queue.put("No remote configured") |