Support evaluation-local configuration and names overrides
This commit is contained in:
1 parent
0bb6f7d97c
commit
d4404e4c27
36 files changed
+409
-184
No files matched your search
@@ -120,7 +120,7 @@ class RefaireSessionTests(unittest.TestCase):
|
||||
output = self.workspace.annotation_dir("refaire") / "Ex 1 G1"
|
||||
output.mkdir(parents=True)
|
||||
(output / "Concat.pdf").write_bytes(expected_id.encode())
|
||||
with patch.object(export, "EXPORT_DIR", export_root):
|
||||
with patch.object(export.configuration, "EXPORT_DIR", export_root):
|
||||
self.assertEqual(
|
||||
export.run(self.workspace, refaire=True), ExitCode.SUCCESS
|
||||
)
|
||||
@@ -131,7 +131,7 @@ class RefaireSessionTests(unittest.TestCase):
|
||||
if expected_id == first:
|
||||
(import_root / exported.name).write_bytes(b"old return")
|
||||
current = self.workspace.annotation_dir("refaire") / "Ex 1 G1"
|
||||
with patch.object(import_annotations, "IMPORT_DIR", import_root):
|
||||
with patch.object(import_annotations.configuration, "IMPORT_DIR", import_root):
|
||||
self.assertEqual(
|
||||
import_annotations.run(self.workspace, refaire=True), ExitCode.PARTIAL
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user