|
|
|
@ -93,10 +93,10 @@ def test_elabuser_create_new_repo(stub_handler):
@@ -93,10 +93,10 @@ def test_elabuser_create_new_repo(stub_handler):
|
|
|
|
|
|
|
|
|
|
called = stub_handler.stack[-2] |
|
|
|
|
assert called.func == "check_call" |
|
|
|
|
assert called.args[:2] == ["svn", "add"] |
|
|
|
|
assert called.args[2].startswith("/tmp/") # noqa: S108 |
|
|
|
|
assert called.args[2].endswith("/*") |
|
|
|
|
assert called.kargs == {"shell": True} |
|
|
|
|
assert called.args[:3] == ["svn", "add", "--force"] |
|
|
|
|
assert called.args[3].startswith("/tmp/") # noqa: S108 |
|
|
|
|
assert called.args[3].endswith("/") |
|
|
|
|
assert called.kargs == {} |
|
|
|
|
|
|
|
|
|
called = stub_handler.stack[-1] |
|
|
|
|
assert called.func == "check_call" |
|
|
|
|