Skip to content

Commit c5c613e

Browse files
authored
Add support for pytest 6 options (#15095)
1 parent ff859ae commit c5c613e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

news/2 Fixes/15094.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add support for pytest 6 options.

src/client/testing/pytest/services/argsService.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const OptionsWithArguments = [
2020
'--basetemp',
2121
'--cache-show',
2222
'--capture',
23+
'--code-highlight',
2324
'--color',
2425
'--confcutdir',
2526
'--cov',
@@ -31,6 +32,7 @@ const OptionsWithArguments = [
3132
'--doctest-glob',
3233
'--doctest-report',
3334
'--durations',
35+
'--durations-min',
3436
'--ignore',
3537
'--ignore-glob',
3638
'--import-mode',
@@ -97,7 +99,9 @@ const OptionsWithoutArguments = [
9799
'--nf',
98100
'--no-cov',
99101
'--no-cov-on-fail',
102+
'--no-header',
100103
'--no-print-logs',
104+
'--no-summary',
101105
'--noconftest',
102106
'--old-summary',
103107
'--pdb',
@@ -113,6 +117,7 @@ const OptionsWithoutArguments = [
113117
'--sw',
114118
'--stepwise-skip',
115119
'--strict',
120+
'--strict-config',
116121
'--strict-markers',
117122
'--trace-config',
118123
'--verbose',

0 commit comments

Comments
 (0)