| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/py-supervisor/files/ |
Upload File : |
--- supervisor/tests/test_options.py.orig 2018-02-15 21:31:47 UTC
+++ supervisor/tests/test_options.py
@@ -160,12 +160,9 @@ class OptionTests(unittest.TestCase):
def test_searchpaths(self):
options = self._makeOptions()
- self.assertEqual(len(options.searchpaths), 6)
- self.assertEqual(options.searchpaths[-4:], [
- 'supervisord.conf',
- 'etc/supervisord.conf',
- '/etc/supervisord.conf',
- '/etc/supervisor/supervisord.conf',
+ self.assertEqual(len(options.searchpaths), 1)
+ self.assertEqual(options.searchpaths[-1:], [
+ '%%PREFIX%%/etc/supervisord.conf',
])
def test_options_and_args_order(self):