File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ def main() -> int:
165
165
for t in tests :
166
166
ts = t .get ("tags" , [])
167
167
alltags |= set (ts )
168
- for tag in alltags :
168
+ for tag in sorted ( alltags ) :
169
169
print (tag )
170
170
return 0
171
171
Original file line number Diff line number Diff line change @@ -93,3 +93,23 @@ def test_category_in_junit_xml(tmp_path: Path) -> None:
93
93
Element , cast (Element , root .find ("testsuite" )).find ("testcase" )
94
94
).attrib ["class" ]
95
95
assert category == "js, init_work_dir"
96
+
97
+
98
+ def test_list_all_tags () -> None :
99
+ args = [
100
+ "--test" ,
101
+ schema_salad .ref_resolver .file_uri (
102
+ get_data ("tests/test-data/conformance_test_v1.2.cwltest.yaml" )
103
+ ),
104
+ "--show-tags" ,
105
+ ]
106
+ error_code , stdout , stderr = run_with_mock_cwl_runner (args )
107
+ assert error_code == 0 , stderr
108
+ assert (
109
+ stdout
110
+ == """command_line_tool
111
+ expression_tool
112
+ inline_javascript
113
+ required
114
+ """
115
+ )
You can’t perform that action at this time.
0 commit comments