Skip to content

Commit

Permalink
Fix test checking for suppressed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket authored and C3SE "c3-builder" bot committed Apr 11, 2024
1 parent 8b5389f commit 0948ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework/module_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def append_paths(*args, **kwargs):
stderr = self.get_stderr()
self.mock_stderr(False)
expected_warning = "\nWARNING: Suppressed adding the following path(s) to $TEST of the module "
expected_warning += "as they were already added: path1\n\n"
expected_warning += "as they were already added: ['path1']\n\n"
self.assertEqual(stderr, expected_warning)

def test_module_extensions(self):
Expand Down Expand Up @@ -833,7 +833,7 @@ def prepend_paths(*args, **kwargs):
stderr = self.get_stderr()
self.mock_stderr(False)
expected_warning = "\nWARNING: Suppressed adding the following path(s) to $TEST of the module "
expected_warning += "as they were already added: path1\n\n"
expected_warning += "as they were already added: ['path1']\n\n"
self.assertEqual(stderr, expected_warning)

def test_det_user_modpath(self):
Expand Down

0 comments on commit 0948ead

Please sign in to comment.