Skip to content

Commit 28073a0

Browse files
committed
fix ci
1 parent d5d54ad commit 28073a0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

data/security/01_ipam_for_security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
kind: IpamPrefix
3333
data:
3434
- prefix: "10.1.1.0/24"
35-
description: "DMZ segment"
35+
description: "DMZ network segment"
3636

3737
- prefix: "192.168.1.0/24"
3838
description: "Internal corporate network"

generators/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Generators"""
1+
"""Generators."""

tests/integration/conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
import subprocess
5+
import tempfile
56
from pathlib import Path
67

78
import pytest
@@ -15,6 +16,12 @@
1516
class TestInfrahubDockerWithClient(TestInfrahubDocker):
1617
"""Base test class with Infrahub Docker container and clients."""
1718

19+
@pytest.fixture(scope="class")
20+
def remote_repos_dir(self) -> str:
21+
"""Temporary directory for git repositories."""
22+
with tempfile.TemporaryDirectory() as tmpdir:
23+
yield tmpdir
24+
1825
@pytest.fixture(scope="class")
1926
def async_client_main(self, infrahub_port: int) -> InfrahubClient:
2027
"""Async Infrahub client on main branch."""

0 commit comments

Comments
 (0)