File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 1- """Generators"""
1+ """Generators. """
Original file line number Diff line number Diff line change 22
33import os
44import subprocess
5+ import tempfile
56from pathlib import Path
67
78import pytest
1516class 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."""
You can’t perform that action at this time.
0 commit comments