File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def test_basic(self):
1717 [
1818 "python" ,
1919 "comment_spell_check.py" ,
20- "--verbose " ,
20+ "--miss " ,
2121 "--dict" ,
2222 "tests/dict.txt" ,
2323 "--prefix" ,
@@ -26,17 +26,15 @@ def test_basic(self):
2626 ],
2727 stdout = subprocess .PIPE ,
2828 )
29- self .assertEqual (
30- runresult .returncode , 0 , "Basic test FAIL: " + str (runresult .stdout )
31- )
29+ self .assertEqual (runresult .returncode , 0 , runresult .stdout )
3230
3331 def test_codebase (self ):
3432 """Code base test"""
3533 runresult = subprocess .run (
3634 [
3735 "python" ,
3836 "comment_spell_check.py" ,
39- "--verbose " ,
37+ "--miss " ,
4038 "--prefix" ,
4139 "myprefix" ,
4240 "--suffix" ,
@@ -47,9 +45,7 @@ def test_codebase(self):
4745 ],
4846 stdout = subprocess .PIPE ,
4947 )
50- self .assertEqual (
51- runresult .returncode , 0 , "Code test FAIL: " + str (runresult .stdout )
52- )
48+ self .assertEqual (runresult .returncode , 0 , runresult .stdout )
5349
5450 def test_version (self ):
5551 """Version test"""
@@ -61,7 +57,7 @@ def test_version(self):
6157 ],
6258 stdout = subprocess .PIPE ,
6359 )
64- self .assertEqual (runresult .returncode , 0 , "Version test FAIL" )
60+ self .assertEqual (runresult .returncode , 0 )
6561
6662 version_string = str (runresult .stdout )
6763 self .assertNotEqual (
You can’t perform that action at this time.
0 commit comments