We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8113b1 commit 7e919f6Copy full SHA for 7e919f6
tests/test_numeric_id.py
@@ -0,0 +1,15 @@
1
+from os import linesep as n
2
+
3
+from .util import get_data, run_with_mock_cwl_runner
4
5
6
+def test_include_by_number() -> None:
7
+ args = [
8
+ "--test",
9
+ get_data("tests/test-data/exclude-tags.yml"),
10
+ "-n1",
11
+ ]
12
+ error_code, stdout, stderr = run_with_mock_cwl_runner(args)
13
+ assert f"[1/3] opt-error1: Test with label{n}" in stderr
14
+ assert "opt-error2" not in stderr
15
+ assert "opt-error3" not in stderr
0 commit comments