Skip to content

Commit

Permalink
Merge pull request #349 from RockefellerArchiveCenter/issue-342
Browse files Browse the repository at this point in the history
Clean up fixtures
  • Loading branch information
helrond authored Oct 30, 2024
2 parents 84f779e + 2835d76 commit b99dea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sip_assembly/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def test_start_package(self):
n = 1
for origin in settings.ARCHIVEMATICA_ORIGINS:
current_bag_name = f"{bag_name}_{n}"
current_bag_path = (join(integration_fixture_dir, current_bag_name))
current_bag_path = join(integration_fixture_dir, current_bag_name)
shutil.copytree(transfer_path, current_bag_path)
client = ArchivematicaClientMixin().get_client(origin)
client.processing_config = 'integration_test'
Expand All @@ -422,3 +422,4 @@ def test_start_package(self):
started = client.create_package()
self.assertIsInstance(started, dict)
n += 1
shutil.rmtree(current_bag_path)

0 comments on commit b99dea9

Please sign in to comment.