Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
tests: make test for missing repo more precise
Lars Wirzenius committed 2 years ago
commit 1dad8cb66fbbc3c9aeb9d7092f5eadc796a2bcb3
parent 61e8554
1 file changed +2 -1
modified 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)