Skip to content

Commit

Permalink
clean up fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
helrond committed Oct 30, 2024
1 parent bd0a013 commit 2835d76
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 2835d76

Please sign in to comment.