You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/05/22 19:04:20 UTC

[libcloud] branch trunk updated: Fix pytest.exit function call - function doesn't expost keyword arg anymore.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 83d1e86af Fix pytest.exit function call - function doesn't expost keyword arg anymore.
83d1e86af is described below

commit 83d1e86aff1109051c417714ea5986eadf3bbf5f
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun May 22 21:03:35 2022 +0200

    Fix pytest.exit function call - function doesn't expost keyword arg
    anymore.
---
 libcloud/test/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcloud/test/conftest.py b/libcloud/test/conftest.py
index c0a73bfd8..fc9e24dc0 100644
--- a/libcloud/test/conftest.py
+++ b/libcloud/test/conftest.py
@@ -28,7 +28,7 @@ def pytest_configure(config):
         print("Missing " + secrets_current)
         print("Maybe you forgot to copy it from -dist:")
         print("cp libcloud/test/secrets.py-dist libcloud/test/secrets.py")
-        pytest.exit(reason="Secrets file missing")
+        pytest.exit("Secrets file missing")
 
     mtime_current = os.path.getmtime(secrets_current)
     mtime_dist = os.path.getmtime(secrets_dist)
@@ -39,4 +39,4 @@ def pytest_configure(config):
             "Please copy the new secrets.py-dist file over otherwise"
             + " tests might fail"
         )
-        pytest.exit(reason="Secrets file out of date")
+        pytest.exit("Secrets file out of date")