Skip to content

Commit c294236

Browse files
committed
Remove some more tests
1 parent 1bd3d27 commit c294236

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

tests/unit/test_argumentvalidation.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -212,33 +212,6 @@ def test_invalid_container_port_protocol_mapping_fail(temp_cwd):
212212
assert not validate_arguments(builddir, args_list, "Port specification")
213213

214214

215-
def test_docker_handle_fail(temp_cwd):
216-
"""
217-
Test to check if r2d fails with minimal error message on not being able to connect to docker daemon
218-
"""
219-
args_list = []
220-
221-
assert not validate_arguments(
222-
builddir,
223-
args_list,
224-
"Check if docker is running on the host.",
225-
disable_dockerd=True,
226-
)
227-
228-
229-
def test_docker_handle_debug_fail(temp_cwd):
230-
"""
231-
Test to check if r2d fails with helpful error message on not being able to connect to docker daemon and debug enabled
232-
"""
233-
args_list = ["--debug"]
234-
235-
assert not validate_arguments(
236-
builddir,
237-
args_list,
238-
"Check if docker is running on the host.",
239-
disable_dockerd=True,
240-
)
241-
242215

243216
def test_docker_no_build_success(temp_cwd):
244217
"""

0 commit comments

Comments
 (0)