From 5081daf20d7da3cc4b56bce98f9a41094cf9d657 Mon Sep 17 00:00:00 2001 From: Sander Niemeijer Date: Tue, 22 Feb 2022 23:10:01 +0100 Subject: [PATCH] Add attach() test --- test/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test.py b/test/test.py index 102e4e0..014e56b 100644 --- a/test/test.py +++ b/test/test.py @@ -522,6 +522,11 @@ def test_pull(self, archive): assert s[0].core.product_name == 'README' assert s[0].core.active is False + def test_attach(self, archive): + archive.ingest(['data/pi.txt']) + archive.strip() + archive.attach(['data/pi.txt']) + def test_search(self, archive): # TODO move to TestQuery? properties = self._ingest_file(archive) uuid = properties.core.uuid