Commit 050b1e39 authored by Samuel GAIST's avatar Samuel GAIST

[test][docker_execution] Add test for mismatch between user and configured user

parent 27371fc7
Pipeline #37848 passed with stage
in 16 minutes and 16 seconds
......@@ -240,3 +240,12 @@ class TestDockerExecution(BaseExecutionMixIn):
nose.tools.eq_(result["status"], 1)
nose.tools.assert_true("Read-only" in result["user_error"])
@slow
def test_user_mismatch_error(self):
result = self.execute(
"errors/user/single/1/write_error", [{"out_data": 42}], datasets_uid=0
)
nose.tools.eq_(result["status"], 1)
nose.tools.assert_true("Failed to create an user" in result["stderr"])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment