From 86a6c9bceb49910ecbc5d7e586d9255c4e90adc1 Mon Sep 17 00:00:00 2001 From: xzl Date: Mon, 30 Dec 2024 11:05:01 +0800 Subject: [PATCH] chore: skip ut for obs Log: --- debian/changelog | 6 ++++++ debian/patches/0001-skip-unit-test-stdout.diff | 12 ++++++++++++ debian/patches/series | 1 + 3 files changed, 19 insertions(+) create mode 100644 debian/patches/0001-skip-unit-test-stdout.diff diff --git a/debian/changelog b/debian/changelog index ab1adc0..424751f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +supervisor (4.2.5-3deepin1) unstable; urgency=medium + + * Skip ut for obs. + + -- xiangzelong Mon, 30 Dec 2024 11:03:12 +0800 + supervisor (4.2.5-3) unstable; urgency=medium * Team upload. diff --git a/debian/patches/0001-skip-unit-test-stdout.diff b/debian/patches/0001-skip-unit-test-stdout.diff new file mode 100644 index 0000000..78d679f --- /dev/null +++ b/debian/patches/0001-skip-unit-test-stdout.diff @@ -0,0 +1,12 @@ +diff --git a/supervisor/tests/test_loggers.py b/supervisor/tests/test_loggers.py +index 0742c17..32d3ec3 100644 +--- a/supervisor/tests/test_loggers.py ++++ b/supervisor/tests/test_loggers.py +@@ -228,6 +228,7 @@ else: + StdoutTestsBase = object + + class StdoutTests(StdoutTestsBase): ++ @unittest.skip("Skipping test_ctor_with_dev_stdout due to permission issues") + def test_ctor_with_dev_stdout(self): + handler = self._makeOne('/dev/stdout') + # Modes 'w' and 'a' have the same semantics when applied to diff --git a/debian/patches/series b/debian/patches/series index f23bab0..fc39140 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ py313.patch +0001-skip-unit-test-stdout.diff