Explorar o código

Merge pull request #69 from JensRantil/code_formatting_improvements

Minor code format improvements
Mike Naberezny %!s(int64=13) %!d(string=hai) anos
pai
achega
a7e71cd3d9
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      supervisor/tests/test_supervisorctl.py

+ 5 - 5
supervisor/tests/test_supervisorctl.py

@@ -109,15 +109,15 @@ class ControllerTests(unittest.TestCase):
         self.assertEqual(plugin.helped, True)
         self.assertEqual(plugin.helped, True)
 
 
     def test_completionmatches(self):
     def test_completionmatches(self):
-        options=DummyClientOptions()
-        controller=self._makeOne(options)
+        options = DummyClientOptions()
+        controller = self._makeOne(options)
         controller.stdout=StringIO()
         controller.stdout=StringIO()
-        plugin=DummyPlugin()
+        plugin = DummyPlugin()
         controller.options.plugin=(plugin,)
         controller.options.plugin=(plugin,)
         for i in ['add','remove']:
         for i in ['add','remove']:
-            result=controller.completionmatches('',i+' ',1)
+            result = controller.completionmatches('',i+' ',1)
             self.assertEqual(result,['foo ','bar ','baz '])
             self.assertEqual(result,['foo ','bar ','baz '])
-        result=controller.completionmatches('','fg baz:')
+        result = controller.completionmatches('','fg baz:')
         self.assertEqual(result,['baz_01 '])
         self.assertEqual(result,['baz_01 '])
 
 
     def test_nohelp(self):
     def test_nohelp(self):