Skip to content

Commit

Permalink
Properly set regions in base_tape_archive.py [DHDO-1371]
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlinssen committed Jul 4, 2024
1 parent c3ae4b3 commit 0f852ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_cases/base_tape_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ def test_tape_with_non_existent_pc(self):
with pytest.raises(subprocess.CalledProcessError):
subprocess.check_call(rule_archive, shell=True)

# endregion

# region helper functions
def run_archive(self):
# Setup Archive
subprocess.check_call(self.run_ichmod, shell=True)
Expand Down Expand Up @@ -268,9 +271,6 @@ def run_unarchive(self, unarchive_path):
output = subprocess.check_output(self.check_large_file_resource, shell=True, encoding="UTF-8")
assert self.destination_resource in output

# endregion

# region helper functions
def assert_active_processes_output(self, active_processes):
assert active_processes[ProcessState.IN_PROGRESS.value][0]["repository"] == "SURFSara Tape"
assert active_processes[ProcessState.IN_PROGRESS.value][0]["collection_title"] == self.collection_title
Expand Down

0 comments on commit 0f852ad

Please sign in to comment.