Skip to content

Commit 6f70f3a

Browse files
committed
Ignore pytest cacheprovider
1 parent 6ad3977 commit 6f70f3a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[pytest]
22
# Let console output be seen. Don't override the pytest plugin.
3-
addopts = --capture=no --ignore conftest.py
3+
addopts = --capture=no --ignore conftest.py -p no:cacheprovider
44
filterwarnings = ignore::DeprecationWarning

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def main():
5252

5353
data = []
5454
data.append("[pytest]")
55-
data.append("addopts = --capture=no --ignore conftest.py")
55+
data.append("addopts = --capture=no --ignore conftest.py "
56+
"-p no:cacheprovider")
5657
data.append("filterwarnings = ignore::DeprecationWarning")
5758
file_path = "%s/%s" % (dir_name, "pytest.ini")
5859
file = codecs.open(file_path, "w+", "utf-8")

0 commit comments

Comments
 (0)