aboutsummaryrefslogtreecommitdiffstats
path: root/tests/report_tests/exception_tests.py
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2024-03-15 11:06:34 +0000
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2024-04-09 20:01:21 -0400
commit46cd148ec13c7e79a93e3d9f6a5d0bd8a97e0ac3 (patch)
tree5a94d28de796e3f30f8b6811b32e9ad8ed271f8f /tests/report_tests/exception_tests.py
parentf109e7df0bf743b6c1d3134959a3b3dd56a8b80d (diff)
downloadsos-46cd148ec13c7e79a93e3d9f6a5d0bd8a97e0ac3.tar.gz
[cirrus] Run tests on latest daily builds for ubuntu
Fix the issues reported by the tests on the new version of ubuntu Resolves: #3587 Closes: #3588 Related: SET-594,SET-595 Co-authored-by: David Negreira <david.negreira@canonical.com> Signed-off-by: Arif Ali <arif.ali@canonical.com> Signed-off-by: David Negreira <david.negreira@canonical.com>
Diffstat (limited to 'tests/report_tests/exception_tests.py')
-rw-r--r--tests/report_tests/exception_tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/report_tests/exception_tests.py b/tests/report_tests/exception_tests.py
index 769954a0..678c06d6 100644
--- a/tests/report_tests/exception_tests.py
+++ b/tests/report_tests/exception_tests.py
@@ -17,7 +17,7 @@ class InvalidPluginEnabledTest(StageOneReportExceptionTest):
sos_cmd = '-o foobar'
def test_caught_invalid_plugin(self):
- self.assertOutputContains('a non-existing plugin \(foobar\)')
+ self.assertOutputContains(r'a non-existing plugin \(foobar\)')
class InvalidPluginOptionTest(StageOneReportExceptionTest):
@@ -28,7 +28,7 @@ class InvalidPluginOptionTest(StageOneReportExceptionTest):
sos_cmd = '-o kernel -k kernel.colonel=on'
def test_caught_invalid_plugin_option(self):
- self.assertOutputContains('no such option "colonel" for plugin \(kernel\)')
+ self.assertOutputContains(r'no such option "colonel" for plugin \(kernel\)')
class InvalidReportOptionTest(StageOneReportExceptionTest):
@@ -39,7 +39,7 @@ class InvalidReportOptionTest(StageOneReportExceptionTest):
sos_cmd = '--magic'
def test_caught_invalid_option(self):
- self.assertOutputContains('unrecognized arguments\: --magic')
+ self.assertOutputContains(r'unrecognized arguments\: --magic')
class InvalidPluginDisableTest(StageOneReportTest):