test: verify installed View execution and document migration work
ci/woodpecker/pr/eco Pipeline was canceled
ci/woodpecker/push/eco Pipeline was canceled

This commit is contained in:
cflmy committed 2026-11-26 13:25:35 +08:00
1 parent 4c5c102593
commit 024d803494
5 files changed
+36 -8

No files matched your search

+5
View File
@@ -80,6 +80,11 @@ class LayoutTests(unittest.TestCase):
with self.assertRaisesRegex(ValueError, "invalid submodule URL"):
layout.validate("HEAD", False)
def test_rejects_wrong_repository_at_authority(self):
self.candidate(url="https://git.cflmy.cn/cflmy/marqdo-view.git")
with self.assertRaisesRegex(ValueError, "invalid submodule URL"):
layout.validate("HEAD", False)
def test_rejects_unstaged_checkout(self):
self.candidate()
with self.assertRaisesRegex(ValueError, "missing submodule checkout"):