Differential D16776 Diff 48346 head/sysutils/py-supervisor/files/patch-supervisor_tests_test__options.py
Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/py-supervisor/files/patch-supervisor_tests_test__options.py
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- 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): |