diff --git a/tests/test_depends.py b/tests/test_depends.py index 19a4fb07..82050c1c 100644 --- a/tests/test_depends.py +++ b/tests/test_depends.py @@ -96,7 +96,7 @@ def test_circular_dependency(self): --test Test.The Test S1Test 08 """, ) - self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stderr) + self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stdout) def test_unmet_dependency(self): stdout, stderr = self._run_tests_with( @@ -107,7 +107,7 @@ def test_unmet_dependency(self): --test Test.The Test S1Test 08 """, ) - self.assertIn(b"Invalid test configuration: Some test suites have dependencies (#DEPENDS) that cannot be found", stderr) + self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites. Please check your #DEPENDS definitions.", stdout) def test_same_reference(self): stdout, stderr = self._run_tests_with( @@ -118,7 +118,7 @@ def test_same_reference(self): --test Test.The Test S1Test 08 """, ) - self.assertIn(b"Invalid test configuration: Test suites cannot depend on themselves", stderr) + self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites. Please check your #DEPENDS definitions.", stdout) def test_wait(self): stdout, stderr = self._run_tests_with( @@ -130,4 +130,4 @@ def test_wait(self): --test Test.The Test S1Test 08 """, ) - self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stderr) + self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stdout)