瀏覽代碼

Renamed copy of test_readProcessStdoutLog_badargs to test_readProcessStderrLog_badargs

test_readProcessStdoutLog_badargs test function name was duplicated... therefore only one was being executed... I renamed the second occurrence to test_readProcessStderrLog_badargs so both functions are now running alright...
pombredanne 12 年之前
父節點
當前提交
2ba00ecbf2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      supervisor/tests/test_rpcinterfaces.py

+ 1 - 1
supervisor/tests/test_rpcinterfaces.py

@@ -1128,7 +1128,7 @@ class SupervisorNamespaceXMLRPCInterfaceTests(TestBase):
                              interface.readProcessStderrLog,
                              'process1', offset=0, length=1)
 
-    def test_readProcessStdoutLog_badargs(self):
+    def test_readProcessStderrLog_badargs(self):
         from supervisor import xmlrpc
         options = DummyOptions()
         pconfig = DummyPConfig(options, 'process1', '/bin/process1', priority=1,