Skip to content

Commit

Permalink
Fix docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj authored Oct 26, 2024
1 parent f873f83 commit a180482
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test_output_by_variant.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_nebra_indoor1_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {nebra_indoor1_output_file} config -q', shell=True)
f'docker compose -f {nebra_indoor1_output_file} config -q', shell=True)

def test_nebra_outdoor1_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -66,7 +66,7 @@ def test_nebra_outdoor1_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {nebra_outdoor1_output_file} config -q', shell=True)
f'docker compose -f {nebra_outdoor1_output_file} config -q', shell=True)

def test_nebra_indoor2_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -76,7 +76,7 @@ def test_nebra_indoor2_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {nebra_indoor2_output_file} config -q', shell=True)
f'docker compose -f {nebra_indoor2_output_file} config -q', shell=True)

def test_nebra_outdoor2_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -86,7 +86,7 @@ def test_nebra_outdoor2_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {nebra_outdoor2_output_file} config -q', shell=True)
f'docker compose -f {nebra_outdoor2_output_file} config -q', shell=True)

def test_syncrobit_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -96,7 +96,7 @@ def test_syncrobit_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {syncrobit_output_file} config -q', shell=True)
f'docker compose -f {syncrobit_output_file} config -q', shell=True)

def test_pycom_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -106,7 +106,7 @@ def test_pycom_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {pycom_output_file} config -q', shell=True)
f'docker compose -f {pycom_output_file} config -q', shell=True)

def test_controllino_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -116,7 +116,7 @@ def test_controllino_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {controllino_output_file} config -q', shell=True)
f'docker compose -f {controllino_output_file} config -q', shell=True)

def test_rak_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -126,7 +126,7 @@ def test_rak_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {rak_output_file} config -q', shell=True)
f'docker compose -f {rak_output_file} config -q', shell=True)

def test_bobcat_px30_compose_output_is_valid(self):
dc = DockerComposer()
Expand All @@ -136,7 +136,7 @@ def test_bobcat_px30_compose_output_is_valid(self):
# so if this runs without that, it's considered successful as
# `docker-compose config -q` returns 1 on invalid config
check_call(
f'docker-compose -f {bobcat_px30_output_file} config -q', shell=True)
f'docker compose -f {bobcat_px30_output_file} config -q', shell=True)

def test_variant_is_invalid(self):
dc = DockerComposer()
Expand Down

0 comments on commit a180482

Please sign in to comment.