feat: add isolated proposal changesets
This commit is contained in:
parent
9702ed1265
commit
8c75f4f44d
22 changed files with 2314 additions and 64 deletions
|
|
@ -247,11 +247,11 @@ class DocForgeCoreTests(unittest.TestCase):
|
|||
|
||||
def test_source_set_change_during_load_fails_closed(self) -> None:
|
||||
project = Project.open(FIXTURES / "alpha")
|
||||
sources = project._canonical_source_paths()
|
||||
sources = project.canonical_source_paths()
|
||||
invented = project.descriptor.root / "docs" / "content" / "invented.md"
|
||||
with (
|
||||
mock.patch.object(
|
||||
project, "_canonical_source_paths", side_effect=[sources, (*sources, invented)]
|
||||
project, "canonical_source_paths", side_effect=[sources, (*sources, invented)]
|
||||
),
|
||||
self.assertRaisesRegex(DocForgeError, "source set changed"),
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue