Skip to content

Commit f8e5478

Browse files
fix tests
1 parent cd7c04e commit f8e5478

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

core/tests/compose_fixtures/port_multiple/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
- '81'
77
- '82'
88
- target: 80
9+
published: "5000-5999"
910
host_ip: 127.0.0.1
1011
protocol: tcp
1112
command:
@@ -18,6 +19,7 @@ services:
1819
init: true
1920
ports:
2021
- target: 80
22+
published: "5000-5999"
2123
host_ip: 127.0.0.1
2224
protocol: tcp
2325
command:

core/tests/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_is_windows(monkeypatch: MonkeyPatch) -> None:
3333

3434

3535
def test_is_arm(monkeypatch: MonkeyPatch) -> None:
36+
monkeypatch.setattr("platform.machine", lambda: "x86_64")
3637
assert not utils.is_arm()
3738
monkeypatch.setattr("platform.machine", lambda: "arm64")
3839
assert utils.is_arm()

0 commit comments

Comments
 (0)