Skip to content

Commit

Permalink
fix expects
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorpela committed Nov 30, 2024
1 parent fa5a169 commit 3e5b3fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_depends.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_circular_dependency(self):
--test Test.The Test S1Test 08
""",
)
self.assertIn(b"circular or unmet dependencies", stderr)
self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stderr)

def test_unmet_dependency(self):
stdout, stderr = self._run_tests_with(
Expand All @@ -107,7 +107,7 @@ def test_unmet_dependency(self):
--test Test.The Test S1Test 08
""",
)
self.assertIn(b"circular or unmet dependencies", stderr)
self.assertIn(b"Invalid test configuration: Some test suites have dependencies (#DEPENDS) that cannot be found", stderr)

def test_same_reference(self):
stdout, stderr = self._run_tests_with(
Expand All @@ -118,7 +118,7 @@ def test_same_reference(self):
--test Test.The Test S1Test 08
""",
)
self.assertIn(b"circular or unmet dependencies", stderr)
self.assertIn(b"Invalid test configuration: Test suites cannot depend on themselves", stderr)

def test_wait(self):
stdout, stderr = self._run_tests_with(
Expand All @@ -130,4 +130,4 @@ def test_wait(self):
--test Test.The Test S1Test 08
""",
)
self.assertIn(b"circular or unmet dependencies", stderr)
self.assertIn(b"Invalid test configuration: Circular or unmet dependencies detected between test suites", stderr)

0 comments on commit 3e5b3fe

Please sign in to comment.