tests: make test for missing repo more precise

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-01-10 17:38:05 +02:00
parent 61e8554a62
commit 1dad8cb66f
+2 -1
View File
@@ -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)