Skip to content
Snippets Groups Projects
Commit 55da63d7 authored by lukas leufen's avatar lukas leufen
Browse files

another test update

parent e6105feb
Branches
Tags
3 merge requests!90WIP: new release update,!89Resolve "release branch / CI on gpu",!85Resolve "new gitlab runner specialised for mlt"
Pipeline #33787 passed
...@@ -163,7 +163,7 @@ class TestPrepareHost: ...@@ -163,7 +163,7 @@ class TestPrepareHost:
assert PyTestRegex(r"path '.*' does not exist for host '.*'\.") == e.value.args[0] assert PyTestRegex(r"path '.*' does not exist for host '.*'\.") == e.value.args[0]
@mock.patch("socket.gethostname", side_effect=["linux-aa9b", "ZAM144", "zam347", "jrtest", "jwtest", @mock.patch("socket.gethostname", side_effect=["linux-aa9b", "ZAM144", "zam347", "jrtest", "jwtest",
"runner-6HmDp9Qd-project-2411-concurrent"]) "runner-6HmDp9Qd-project-2411-concurrent-01"])
@mock.patch("os.getlogin", side_effect=OSError) @mock.patch("os.getlogin", side_effect=OSError)
@mock.patch("os.path.exists", return_value=True) @mock.patch("os.path.exists", return_value=True)
def test_os_error(self, mock_path, mock_user, mock_host): def test_os_error(self, mock_path, mock_user, mock_host):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment