Skip to content

Commit 77bc461

Browse files
committed
def the test functions
1 parent d46841f commit 77bc461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_jqlcomposer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
TEST_TERMS=["summer"]
66

7-
test_jqlcomposer_main_asfile():
7+
def test_jqlcomposer_main_asfile():
88
for i in xrange(len(TEST_TERMS)):
99
idx = i+1
1010
with open(f"testout{idx}.txt", "w") as outfile
1111
subprocess.run(["python", "jqlcomposer.py", TEST_TERMS[i], "--filename", f"test{idx}.json"], stdout=outfile)
1212
assert 0 == filecmp.cmp(f"testout{idx}.txt", f"expect{idx}.txt")
1313

14-
test_jqlcomposer_main_astext():
14+
def test_jqlcomposer_main_astext():
1515
for i in xrange(len(TEST_TERMS)):
1616
idx = i+1
1717
json_contents = ""

0 commit comments

Comments
 (0)