Преглед изворни кода

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)
         fp = StringIO(s)
         instance = self._makeOne()
         instance = self._makeOne()
         instance.configfile = fp
         instance.configfile = fp
-        instance.realize()
+        instance.realize(())
         self.assertEqual(instance.serverurl, 'unix:///dev/null')
         self.assertEqual(instance.serverurl, 'unix:///dev/null')
 
 
 class ServerOptionsTests(unittest.TestCase):
 class ServerOptionsTests(unittest.TestCase):