pytest-pve-cloud 3.2.2__tar.gz → 3.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_pve_cloud-3.2.2/src/pytest_pve_cloud.egg-info → pytest_pve_cloud-3.2.4}/PKG-INFO +2 -2
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/requirements.txt +1 -1
- pytest_pve_cloud-3.2.4/src/pve_cloud_test/_version.py +1 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/k8s_fixtures.py +30 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4/src/pytest_pve_cloud.egg-info}/PKG-INFO +2 -2
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/requires.txt +1 -1
- pytest_pve_cloud-3.2.2/src/pve_cloud_test/_version.py +0 -1
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/LICENSE.md +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/README.md +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/pyproject.toml +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/setup.cfg +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/cloud_fixtures.py +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/options.py +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/tdd_watchdog.py +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/terraform.py +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pve_cloud_test/test_env_schema.yaml +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/SOURCES.txt +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/dependency_links.txt +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/entry_points.txt +0 -0
- {pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-pve-cloud
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.4
|
|
4
4
|
Author-email: Tobias Huebner <tobias.huebner@vmzberlin.com>
|
|
5
5
|
License-Expression: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE.md
|
|
7
|
-
Requires-Dist: py-pve-cloud<3.3.0,>=3.2.
|
|
7
|
+
Requires-Dist: py-pve-cloud<3.3.0,>=3.2.4
|
|
8
8
|
Requires-Dist: kubernetes==34.1.0
|
|
9
9
|
Requires-Dist: pytest==8.4.2
|
|
10
10
|
Requires-Dist: ansible-runner==2.4.2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.2.4"
|
|
@@ -288,6 +288,21 @@ def get_secondary_kubeconfig(get_test_env):
|
|
|
288
288
|
)
|
|
289
289
|
|
|
290
290
|
|
|
291
|
+
@pytest.fixture(scope="session")
|
|
292
|
+
def get_k8s_api_v1_batch(get_primary_kubeconfig):
|
|
293
|
+
kubeconfig = get_primary_kubeconfig
|
|
294
|
+
|
|
295
|
+
# auth kubernetes api
|
|
296
|
+
with tempfile.NamedTemporaryFile(mode="w", delete=False) as temp_file:
|
|
297
|
+
temp_file.write(kubeconfig)
|
|
298
|
+
temp_file.flush()
|
|
299
|
+
config.load_kube_config(config_file=temp_file.name)
|
|
300
|
+
|
|
301
|
+
v1 = client.BatchV1Api()
|
|
302
|
+
|
|
303
|
+
return v1
|
|
304
|
+
|
|
305
|
+
|
|
291
306
|
@pytest.fixture(scope="session")
|
|
292
307
|
def get_k8s_api_v1(get_primary_kubeconfig):
|
|
293
308
|
kubeconfig = get_primary_kubeconfig
|
|
@@ -303,6 +318,21 @@ def get_k8s_api_v1(get_primary_kubeconfig):
|
|
|
303
318
|
return v1
|
|
304
319
|
|
|
305
320
|
|
|
321
|
+
@pytest.fixture(scope="session")
|
|
322
|
+
def get_k8s_secondary_api_v1_batch(get_secondary_kubeconfig):
|
|
323
|
+
kubeconfig = get_secondary_kubeconfig
|
|
324
|
+
|
|
325
|
+
# auth kubernetes api
|
|
326
|
+
with tempfile.NamedTemporaryFile(mode="w", delete=False) as temp_file:
|
|
327
|
+
temp_file.write(kubeconfig)
|
|
328
|
+
temp_file.flush()
|
|
329
|
+
config.load_kube_config(config_file=temp_file.name)
|
|
330
|
+
|
|
331
|
+
v1 = client.BatchV1Api()
|
|
332
|
+
|
|
333
|
+
return v1
|
|
334
|
+
|
|
335
|
+
|
|
306
336
|
@pytest.fixture(scope="session")
|
|
307
337
|
def get_k8s_secondary_api_v1(get_secondary_kubeconfig):
|
|
308
338
|
kubeconfig = get_secondary_kubeconfig
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-pve-cloud
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.4
|
|
4
4
|
Author-email: Tobias Huebner <tobias.huebner@vmzberlin.com>
|
|
5
5
|
License-Expression: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE.md
|
|
7
|
-
Requires-Dist: py-pve-cloud<3.3.0,>=3.2.
|
|
7
|
+
Requires-Dist: py-pve-cloud<3.3.0,>=3.2.4
|
|
8
8
|
Requires-Dist: kubernetes==34.1.0
|
|
9
9
|
Requires-Dist: pytest==8.4.2
|
|
10
10
|
Requires-Dist: ansible-runner==2.4.2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.2.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{pytest_pve_cloud-3.2.2 → pytest_pve_cloud-3.2.4}/src/pytest_pve_cloud.egg-info/top_level.txt
RENAMED
|
File without changes
|