ports/sysutils/py-supervisor/files/patch-supervisor-tests-test_supervisorctl.py
Kubilay Kocak c5d0ef85f7 sysutils/py-supervisor: Update to 3.0
- Update to 3.0 (and bump PORTEPOCH)
- Update pkg-plist
- Replace NOPORTDOCS with DOCS (pet portlint)
- Remove unecessary test_childutils patch (upstreamed)
- Disable two failing tests and report upstream [1]

Changes:

https://github.com/Supervisor/supervisor/blob/3.0/CHANGES.txt

[1] https://github.com/Supervisor/supervisor/issues/284
[1] https://github.com/Supervisor/supervisor/issues/285

PR:		ports/181138
Approved by:	Ildar Hizbulin <hizel@vyborg.ru> (maintainer)
2013-08-25 05:39:31 +00:00

36 lines
1.5 KiB
Python

--- supervisor/tests/test_supervisorctl.py.old 2013-05-27 06:39:09.000000000 +0400
+++ supervisor/tests/test_supervisorctl.py 2013-08-23 15:06:11.000000000 +0400
@@ -889,19 +889,19 @@
val = plugin.ctl.stdout.getvalue()
self.failUnless(val.startswith('Error: bad argument wrong'), val)
- def test_maintail_dashf(self):
- plugin = self._makeOne()
- plugin.listener = DummyListener()
- result = plugin.do_maintail('-f')
- errors = plugin.listener.errors
- self.assertEqual(len(errors), 1)
- error = errors[0]
- self.assertEqual(plugin.listener.closed,
- 'http://localhost:65532/mainlogtail')
- self.assertEqual(error[0],
- 'http://localhost:65532/mainlogtail')
- for msg in ('Cannot connect', 'socket.error'):
- self.assertTrue(msg in error[1])
+# def test_maintail_dashf(self):
+# plugin = self._makeOne()
+# plugin.listener = DummyListener()
+# result = plugin.do_maintail('-f')
+# errors = plugin.listener.errors
+# self.assertEqual(len(errors), 1)
+# error = errors[0]
+# self.assertEqual(plugin.listener.closed,
+# 'http://localhost:65532/mainlogtail')
+# self.assertEqual(error[0],
+# 'http://localhost:65532/mainlogtail')
+# for msg in ('Cannot connect', 'socket.error'):
+# self.assertTrue(msg in error[1])
def test_maintail_nobytes(self):
plugin = self._makeOne()