Skip to content

Commit

Permalink
revert asserted delete
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Jul 24, 2024
1 parent 7c3ae2a commit 6c0f696
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_docker_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ def test_validate(self):
'md5': '96a80c9368cc3c37095c86fbe6044fb2'}
]

# Check metadata errors
with open(os.path.join(self.validator.output_dir, 'other_validations', 'metadata_validation.txt')) as open_file:
metadata_val_lines = {l.strip() for l in open_file.readlines()}
assert 'must match pattern "^PRJ(EB|NA)\\d+$"' in metadata_val_lines

def test_validate_from_excel(self):
self.validator_from_excel.validate()
self.assertTrue(os.path.isfile(self.validator_from_excel._sample_check_yaml))

0 comments on commit 6c0f696

Please sign in to comment.