Skip to content

Commit a66bf9f

Browse files
committed
Naming.
1 parent 71e973d commit a66bf9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_integration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ def run_cwl_md5sum(cwl_input):
7272
return os.path.join(output_dir, 'md5sum.txt'), response['workflow_id']
7373

7474

75-
def run_wdl_md5sum(cwl_input):
75+
def run_wdl_md5sum(wdl_input):
7676
"""Pass a local md5sum wdl to the wes-service server, and return the path of the output file that was created."""
7777
endpoint = 'http://localhost:8080/ga4gh/wes/v1/workflows'
7878
params = '{"ga4ghMd5.inputFile": "' + os.path.abspath('testdata/md5sum.input') + '"}'
7979
parts = [("workflow_params", params),
8080
("workflow_type", "WDL"),
8181
("workflow_type_version", "v1.0"),
82-
("workflow_url", cwl_input)]
82+
("workflow_url", wdl_input)]
8383
response = requests.post(endpoint, files=parts).json()
8484
output_dir = os.path.abspath(os.path.join('workflows', response['workflow_id'], 'outdir'))
8585
return os.path.join(output_dir, 'md5sum.txt'), response['workflow_id']
@@ -139,8 +139,8 @@ def setUp(self):
139139

140140
def test_wdl_md5sum(self):
141141
"""Pass a local md5sum cwl to the wes-service server, and check for the correct output."""
142-
cwl_local_path = os.path.abspath('testdata/md5sum.wdl')
143-
output_filepath, _ = run_wdl_md5sum(cwl_input=cwl_local_path)
142+
wdl_local_path = os.path.abspath('testdata/md5sum.wdl')
143+
output_filepath, _ = run_wdl_md5sum(wdl_input=wdl_local_path)
144144

145145
self.assertTrue(check_for_file(output_filepath), 'Output file was not found: ' + str(output_filepath))
146146

0 commit comments

Comments
 (0)