Skip to content

Commit

Permalink
Add attach() test
Browse files Browse the repository at this point in the history
  • Loading branch information
svniemeijer committed Feb 22, 2022
1 parent 8d2881f commit 5081daf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5081daf

Please sign in to comment.