Skip to content

Commit

Permalink
Update test_outputs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Mar 24, 2024
1 parent f3b1b58 commit f7c820e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_outputs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import glob
import os
import subprocess
import sys
from pathlib import Path

import pytest
Expand All @@ -17,5 +16,5 @@ def test_file(self, tmp_path, file):
name = os.path.basename(file).replace(".tap", "")
original = f"./test/output/{name}.xml"
output = f"{tmp_path}/out.xml"
subprocess.run([sys.executable, "-m", "tap2junit", "-i", file, "-o", output])
subprocess.run(["python", "-m", "tap2junit", "-i", file, "-o", output])
assert Path(original).read_text() == normalize_output(Path(output).read_text())

0 comments on commit f7c820e

Please sign in to comment.