Skip to content

Commit 297e3f3

Browse files
committed
Broke up long string
1 parent f6632b0 commit 297e3f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_comment_spell_check.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,21 @@ def test_bibtex(self):
9898

9999
def test_url(self):
100100
"""URL test"""
101+
url = (
102+
"https://raw.githubusercontent.com/SimpleITK/SimpleITK/"
103+
"refs/heads/master/.github/workflows/additional_dictionary.txt"
104+
)
101105
runresult = subprocess.run(
102106
[
103107
"comment_spell_check",
104108
"--dict",
105-
"https://raw.githubusercontent.com/SimpleITK/SimpleITK/refs/heads/master/.github/workflows/additional_dictionary.txt",
109+
url,
106110
"../tests/urltest.py",
107111
],
108112
cwd="comment_spell_check",
109113
stdout=subprocess.PIPE,
110114
)
115+
self.assertEqual(runresult.returncode, 0, runresult.stdout)
111116

112117

113118
if __name__ == "__main__":

0 commit comments

Comments
 (0)