From 1dad8cb66fbbc3c9aeb9d7092f5eadc796a2bcb3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 10 Jan 2024 16:17:46 +0200 Subject: [PATCH] tests: make test for missing repo more precise Signed-off-by: Lars Wirzenius --- test-suite | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-suite b/test-suite index 277f8eb..00aa661 100755 --- a/test-suite +++ b/test-suite @@ -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)