aboutsummaryrefslogtreecommitdiff
path: root/tests/test_install.py
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2017-04-15 10:44:49 +0200
committerMarco Poletti <poletti.marco@gmail.com>2017-04-15 10:44:49 +0200
commit03352bb970d8341bbc70744d1a36d4d2ed9aea84 (patch)
treebd90c6da8cc8c61bc5b9882ad2d07b7aaeaa4cec /tests/test_install.py
parent63e309e4beeec9872acd9d76b184aa759ba3ef4b (diff)
downloadgoogle-fruit-03352bb970d8341bbc70744d1a36d4d2ed9aea84.tar.gz
Disable the pytest cache when running tests under bazel, it causes errors (read-only file system) when running tests with sandboxing enabled.
Diffstat (limited to 'tests/test_install.py')
-rwxr-xr-xtests/test_install.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_install.py b/tests/test_install.py
index 9fe786b..bfb377f 100755
--- a/tests/test_install.py
+++ b/tests/test_install.py
@@ -115,5 +115,4 @@ def test_with_requirements_not_specified_in_child_component_error():
source)
if __name__== '__main__':
- code = pytest.main(args=[os.path.realpath(__file__)])
- exit(code)
+ main(__file__)