From 6e3279e5852a664b70ad331e8595ed9c6cdd4176 Mon Sep 17 00:00:00 2001 From: "Philip Sargent @ okchai" Date: Wed, 18 Jun 2025 07:58:10 +0100 Subject: made test for cavern more robust against legs v shots --- core/TESTS/test_imports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/TESTS/test_imports.py b/core/TESTS/test_imports.py index f288951..ad64564 100644 --- a/core/TESTS/test_imports.py +++ b/core/TESTS/test_imports.py @@ -275,7 +275,7 @@ class SubprocessTest(TestCase): self.assertTrue(sp.returncode == 0, f"{cwd} - survex is unhappy") content = sp.stdout - ph = r"Total length of survey legs" + ph = r"Total plan length of survey" phmatch = re.search(ph, content) msg = f'{cwd} - Failed to find expected survex output: "{ph}"' self.assertIsNotNone(phmatch, msg) -- cgit v1.2.3