Skip to content

Commit

Permalink
add check=True
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Jan 12, 2024
1 parent bb2ead3 commit 5005cfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: pip3 install -r requirements.txt
- name: start stack
run: dsp-tools start-stack --no-prune
- name: run the tests
- name: run tests
run: pytest test


4 changes: 2 additions & 2 deletions test/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ def test_script_output(generated_xml_file: Path) -> None:

def test_create() -> None:
"""Create the project on the DSP server"""
subprocess.run("dsp-tools create import_project.json".split())
subprocess.run("dsp-tools create import_project.json".split(), check=True)


def test_upload(generated_xml_file: Path) -> None:
"""Upload the created XML to the DSP server"""
subprocess.run(f"dsp-tools xmlupload {generated_xml_file}".split())
subprocess.run(f"dsp-tools xmlupload {generated_xml_file}".split(), check=True)


def _sort_xml_by_id(xml: str) -> str:
Expand Down

0 comments on commit 5005cfb

Please sign in to comment.