Ignore files generated by tests

Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
This commit is contained in:
Bas Zoetekouw 2024-03-21 15:37:10 +01:00 committed by Povilas Kanapickas
parent 45ca1f994f
commit bdff78dcba
2 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -47,6 +47,8 @@ coverage.xml
*.cover
.hypothesis/
.pytest_cache/
test-compose.yaml
test-compose-?.yaml
# Translations
*.mo

View File

@ -901,6 +901,8 @@ def get_net_args(compose, cnt):
net_options.append(f"ip={ipv4}")
if ipv6:
net_options.append(f"ip={ipv6}")
if mac:
net_options.append(f"mac={mac}")
if net_options:
net_args.extend(["--network", f"{net_name}:" + ",".join(net_options)])