diff options
author | Jürg Billeter <j@bitron.ch> | 2019-02-24 09:44:28 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-02-26 12:08:27 +0100 |
commit | 85b65369486dda7eb81560f5ee3ded8a23e878d6 (patch) | |
tree | 47aab3e89655ceac7aff34e28072cd7ec3900f09 /tests/internals | |
parent | 9b10fb916a4b54aa758ff13147848ab9e904594a (diff) | |
download | buildstream-85b65369486dda7eb81560f5ee3ded8a23e878d6.tar.gz |
tests/internals/storage_vdir_import.py: Use public API in test
Diffstat (limited to 'tests/internals')
-rw-r--r-- | tests/internals/storage_vdir_import.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/internals/storage_vdir_import.py b/tests/internals/storage_vdir_import.py index 0531b7c1b..ee346ea58 100644 --- a/tests/internals/storage_vdir_import.py +++ b/tests/internals/storage_vdir_import.py @@ -211,11 +211,7 @@ def _import_test(tmpdir, original, overlay, generator_function, verify_contents= # Now do the same thing with filebaseddirectories and check the contents match - files = list(utils.list_relative_paths(roundtrip_dir)) - duplicate_cas._import_files_from_directory(roundtrip_dir, files=files) - duplicate_cas._recalculate_recursing_down() - if duplicate_cas.parent: - duplicate_cas.parent._recalculate_recursing_up(duplicate_cas) + duplicate_cas.import_files(roundtrip_dir) assert duplicate_cas.ref.hash == d.ref.hash |