瀏覽代碼

Merge pull request #525 from msabramo/test_options_unixsocket_configfile_dont_use_argv_from_command_line

test_options_unixsocket_configfile: Don't use argv
Mike Naberezny 10 年之前
父節點
當前提交
823bf39fc6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      supervisor/tests/test_options.py

+ 1 - 1
supervisor/tests/test_options.py

@@ -397,7 +397,7 @@ class ClientOptionsTests(unittest.TestCase):
         fp = StringIO(s)
         instance = self._makeOne()
         instance.configfile = fp
-        instance.realize()
+        instance.realize(())
         self.assertEqual(instance.serverurl, 'unix:///dev/null')
 
 class ServerOptionsTests(unittest.TestCase):