mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-11-16 00:10:39 +08:00
tests: make test for missing repo more precise
Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
+2
-1
@@ -140,7 +140,7 @@ class Suite:
|
||||
self.assert_error(resps[1])
|
||||
|
||||
def test_repository_does_not_exist(self):
|
||||
rid = "rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE"
|
||||
rid = "rad:z3aaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
commit = "8d947e182b096ec009e1c9eda9e6a67f5eef83d9"
|
||||
|
||||
ci = self._create_ci()
|
||||
@@ -154,6 +154,7 @@ class Suite:
|
||||
error = resps[1]["result"]["error"]
|
||||
assert "git" in error
|
||||
assert "clone" in error
|
||||
assert rid[len("rad:") :] in error
|
||||
|
||||
def test_native_yaml_has_no_shell(self):
|
||||
exit, resps, stderr = self._test_case("no-shell", None)
|
||||
|
||||
Reference in New Issue
Block a user