Skip to content

Commit

Permalink
chore: skip ut for obs
Browse files Browse the repository at this point in the history
Log:
  • Loading branch information
xzl01 authored and Zeno-sole committed Dec 30, 2024
1 parent 2f1d6d3 commit 94eea9a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
supervisor (4.2.5-3deepin1) unstable; urgency=medium

* Skip ut for obs.

-- xiangzelong <[email protected]> Mon, 30 Dec 2024 11:03:12 +0800

supervisor (4.2.5-3) unstable; urgency=medium

* Team upload.
Expand Down
12 changes: 12 additions & 0 deletions debian/patches/0001-skip-unit-test-stdout.diff
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
py313.patch
0001-skip-unit-test-stdout.diff

0 comments on commit 94eea9a

Please sign in to comment.