aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cleaner_tests/basic_function_tests
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/cleaner_tests/basic_function_tests
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/cleaner_tests/basic_function_tests')
-rw-r--r--tests/cleaner_tests/basic_function_tests/report_with_mask.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cleaner_tests/basic_function_tests/report_with_mask.py b/tests/cleaner_tests/basic_function_tests/report_with_mask.py
index 06bb2122..bb72cdde 100644
--- a/tests/cleaner_tests/basic_function_tests/report_with_mask.py
+++ b/tests/cleaner_tests/basic_function_tests/report_with_mask.py
@@ -119,7 +119,7 @@ class DefaultRemoveBinaryFilesTest(StageTwoReportTest):
self.assertFileNotCollected('var/log/binary_test.tar.xz')
def test_binaries_removed_reported(self):
- self.assertOutputContains('\[removed .* unprocessable files\]')
+ self.assertOutputContains(r'\[removed .* unprocessable files\]')
class KeepBinaryFilesTest(StageTwoReportTest):
@@ -142,4 +142,4 @@ class KeepBinaryFilesTest(StageTwoReportTest):
self.assertFileCollected('var/log/binary_test.tar.xz')
def test_no_binaries_reported_removed(self):
- self.assertOutputNotContains('\[removed .* unprocessable files\]')
+ self.assertOutputNotContains(r'\[removed .* unprocessable files\]')