Skip to content

Commit 66625d7

Browse files
committed
Remove flags that are plugin-specific from pytest wrapper
1 parent c9de3a9 commit 66625d7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

py/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pytest_test(
7171
python_version = "PY2",
7272
args = [
7373
"-n=auto",
74+
"--instafail",
7475
],
7576
srcs = glob([
7677
"test/unit/**/*.py",
@@ -103,7 +104,7 @@ pytest_test(
103104
"test/selenium/webdriver/common/**/*.py",
104105
"test/selenium/webdriver/support/**/*.py",
105106
]),
106-
args = ["--driver=Firefox"],
107+
args = ["--instafail", "--driver=Firefox"],
107108
python_version = "PY2",
108109
tags = [
109110
"no-sandbox",

py/private/pytest.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if __name__ == "__main__":
1515
import sys
1616
import pytest
1717
18-
args = sys.argv[1:] + ["-ra", "-s", "--instafail"] + %s + %s
18+
args = sys.argv[1:] + ["-ra"] + %s + %s
1919
2020
sys.exit(pytest.main(args))""" % (_stringify(ctx.attr.args), _stringify([src.path for src in ctx.files.srcs])),
2121
is_executable = True)

0 commit comments

Comments
 (0)