Skip to content

Commit 61fad67

Browse files
committed
changed tests to execute comment_spell_check directly
1 parent 581f2c3 commit 61fad67

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tests/test_comment_spell_check.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ def test_basic(self):
3333
"""Basic test"""
3434
runresult = subprocess.run(
3535
[
36-
"python",
37-
"comment_spell_check.py",
36+
"comment_spell_check",
3837
"--miss",
3938
"--dict",
4039
"tests/dict.txt",
@@ -50,8 +49,7 @@ def test_codebase(self):
5049
"""Code base test"""
5150
runresult = subprocess.run(
5251
[
53-
"python",
54-
"comment_spell_check.py",
52+
"comment_spell_check",
5553
"--miss",
5654
"--prefix",
5755
"myprefix",
@@ -69,8 +67,7 @@ def test_version(self):
6967
"""Version test"""
7068
runresult = subprocess.run(
7169
[
72-
"python",
73-
"comment_spell_check.py",
70+
"comment_spell_check",
7471
"--version",
7572
],
7673
stdout=subprocess.PIPE,
@@ -86,8 +83,7 @@ def test_bibtex(self):
8683
"""Bibtext test"""
8784
runresult = subprocess.run(
8885
[
89-
"python",
90-
"comment_spell_check.py",
86+
"comment_spell_check",
9187
"--bibtex",
9288
"tests/itk.bib",
9389
"tests/bibtest.py",

0 commit comments

Comments
 (0)