Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d2c64e

Browse files
committed
try pytest -k option
1 parent be55626 commit 5d2c64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run/markdown-preview/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def cloud_run(session):
143143

144144
session.run(
145145
"pytest",
146-
*(PYTEST_COMMON_ARGS + session.posargs + ["e2e_test.py"]),
146+
*(PYTEST_COMMON_ARGS + ["-k", "e2e"] + session.posargs),
147147
# Pytest will return 5 when no tests are collected. This can happen
148148
# on travis where slow and flaky tests are excluded.
149149
# See http://doc.pytest.org/en/latest/_modules/_pytest/main.html

0 commit comments

Comments
 (0)