summaryrefslogtreecommitdiff
path: root/dev-python/pytest-services/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/pytest-services/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-services/files')
-rw-r--r--dev-python/pytest-services/files/pytest-services-2.0.1-lockdir.patch23
-rw-r--r--dev-python/pytest-services/files/pytest-services-2.0.1-no-mysql.patch25
2 files changed, 0 insertions, 48 deletions
diff --git a/dev-python/pytest-services/files/pytest-services-2.0.1-lockdir.patch b/dev-python/pytest-services/files/pytest-services-2.0.1-lockdir.patch
deleted file mode 100644
index 0ecf7be8c3c0..000000000000
--- a/dev-python/pytest-services/files/pytest-services-2.0.1-lockdir.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -ur pytest-services-2.0.1.orig/pytest_services/folders.py pytest-services-2.0.1/pytest_services/folders.py
---- pytest-services-2.0.1.orig/pytest_services/folders.py 2019-11-12 13:04:01.000000000 -0800
-+++ pytest-services-2.0.1/pytest_services/folders.py 2019-11-20 23:26:55.760949590 -0800
-@@ -9,7 +9,7 @@
- @pytest.fixture(scope='session')
- def root_dir():
- """The parent directory of the test base artifact directory."""
-- return '/tmp'
-+ return os.getenv("TMPDIR") or '/tmp'
-
-
- @pytest.yield_fixture(scope='session')
-@@ -47,7 +47,8 @@
- def memory_root_dir(root_dir):
- """The parent directory of the test artifact directory in memory."""
- # check for a free space for at least 8 parallel processes
-- if os.path.exists('/dev/shm') and psutil.disk_usage('/dev/shm').free > 1024 * 1024 * 64 * 10:
-+ if os.path.exists('/dev/shm') and psutil.disk_usage('/dev/shm').free > 1024 * 1024 * 64 * 10 \
-+ and os.access('/dev/shm', os.W_OK):
- return '/dev/shm'
- return root_dir
-
-Only in pytest-services-2.0.1/pytest_services: .folders.py.un~
diff --git a/dev-python/pytest-services/files/pytest-services-2.0.1-no-mysql.patch b/dev-python/pytest-services/files/pytest-services-2.0.1-no-mysql.patch
deleted file mode 100644
index 2a86f5110d5e..000000000000
--- a/dev-python/pytest-services/files/pytest-services-2.0.1-no-mysql.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ur pytest-services-2.0.1.orig/tests/test_plugin.py pytest-services-2.0.1/tests/test_plugin.py
---- pytest-services-2.0.1.orig/tests/test_plugin.py 2019-11-12 13:04:01.000000000 -0800
-+++ pytest-services-2.0.1/tests/test_plugin.py 2019-11-20 19:28:17.789932680 -0800
-@@ -3,7 +3,6 @@
- import socket
-
- import pylibmc
--import MySQLdb
-
-
- def test_memcached(request, memcached, memcached_socket):
-@@ -17,12 +16,6 @@
- assert mc.get('some') is None
-
-
--def test_mysql(mysql, mysql_connection, mysql_socket):
-- """Test mysql service."""
-- conn = MySQLdb.connect(user='root', unix_socket=mysql_socket)
-- assert conn
--
--
- def test_xvfb(xvfb, xvfb_display):
- """Test xvfb service."""
- socket.create_connection(('127.0.0.1', 6000 + xvfb_display))
-Only in pytest-services-2.0.1/tests: .test_plugin.py.un~