Skip to content

Commit 782c44d

Browse files
schnell18p12tic
authored andcommitted
tests: Style cleanup
Signed-off-by: Justin Zhang <[email protected]>
1 parent d7762a5 commit 782c44d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integration/deps/test_podman_compose_deps.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def compose_yaml_path(suffix=""):
1616
class TestComposeBaseDeps(unittest.TestCase, RunSubprocessMixin):
1717
def test_deps(self):
1818
try:
19-
output, error = self.run_subprocess_assert_returncode([
19+
output, _ = self.run_subprocess_assert_returncode([
2020
podman_compose_path(),
2121
"-f",
2222
compose_yaml_path(),
@@ -39,7 +39,7 @@ def test_deps(self):
3939

4040
def test_run_nodeps(self):
4141
try:
42-
output, error = self.run_subprocess_assert_returncode([
42+
output, _ = self.run_subprocess_assert_returncode([
4343
podman_compose_path(),
4444
"-f",
4545
compose_yaml_path(),
@@ -73,7 +73,7 @@ def test_up_nodeps(self):
7373
"--detach",
7474
"sleep",
7575
])
76-
output, error = self.run_subprocess_assert_returncode([
76+
output, _ = self.run_subprocess_assert_returncode([
7777
podman_compose_path(),
7878
"-f",
7979
compose_yaml_path(),
@@ -146,7 +146,7 @@ class TestComposeConditionalDeps(unittest.TestCase, RunSubprocessMixin):
146146
def test_deps_succeeds(self):
147147
suffix = "-conditional-succeeds"
148148
try:
149-
output, error = self.run_subprocess_assert_returncode([
149+
output, _ = self.run_subprocess_assert_returncode([
150150
podman_compose_path(),
151151
"-f",
152152
compose_yaml_path(suffix),
@@ -170,7 +170,7 @@ def test_deps_succeeds(self):
170170
def test_deps_fails(self):
171171
suffix = "-conditional-fails"
172172
try:
173-
output, error = self.run_subprocess_assert_returncode([
173+
output, _ = self.run_subprocess_assert_returncode([
174174
podman_compose_path(),
175175
"-f",
176176
compose_yaml_path(suffix),

0 commit comments

Comments
 (0)