Skip to content

Commit

Permalink
fix test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Nov 23, 2024
1 parent f0912f3 commit 8263b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/validation/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ def test_validate_file_list_namespaces_extension(self):
self.assertRegex(result.stdout.decode('utf-8'), stdout_regex)

def test_validate_file_json_output(self):
"""Test that validating a file with the json flag ouputs a json file."""
"""Test that validating a file with the json flag outputs a json file."""
json_path = "test_validation.json"
run_coverage(["tests/back_compat/1.0.2_str_experimenter.nwb", "--no-cached-namespace",
"--json-file-path", json_path])
self.assertTrue(os.path.exists(json_path))
os.remove(json_path)

def test_validation_entry_point(self):
"""Test that using the validation entry point succesfully executes the validate CLI."""
"""Test that using the validation entry point successfully executes the validate CLI."""
json_path = "test_validation_entry_point.json"
subprocess.run(["pynwb-validate", "tests/back_compat/1.0.2_str_experimenter.nwb",
"--json-file-path", json_path])
Expand Down

0 comments on commit 8263b77

Please sign in to comment.