mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-14 11:15:09 +08:00
Applies PEP-8 recommendations.
Whitespace wrangling.
This commit is contained in:
@@ -3,16 +3,16 @@ from unittest2 import TestCase, skip
|
||||
|
||||
from zipline.core.monitor import Monitor
|
||||
|
||||
|
||||
class TestMonitor(TestCase):
|
||||
def setUp(self):
|
||||
setup_logger(self, '/var/log/qexec/qexec.log')
|
||||
|
||||
|
||||
def tearDown(self):
|
||||
teardown_logger(self)
|
||||
|
||||
def test_init(self):
|
||||
pub_socket = 'tcp://127.0.0.1:5000'
|
||||
pub_socket = 'tcp://127.0.0.1:5000'
|
||||
route_socket = 'tcp://127.0.0.1:5001'
|
||||
exception_socket = 'tcp://127.0.0.1:5002'
|
||||
|
||||
@@ -20,9 +20,9 @@ class TestMonitor(TestCase):
|
||||
mon.manage([])
|
||||
|
||||
def test_init_topology(self):
|
||||
pub_socket = 'tcp://127.0.0.1:5000'
|
||||
pub_socket = 'tcp://127.0.0.1:5000'
|
||||
route_socket = 'tcp://127.0.0.1:5001'
|
||||
exception_socket = 'tcp://127.0.0.1:5002'
|
||||
|
||||
mon = Monitor(pub_socket, route_socket, exception_socket)
|
||||
mon.manage([ 'a', 'b', 'c', 'd' ])
|
||||
mon.manage(['a', 'b', 'c', 'd'])
|
||||
|
||||
Reference in New Issue
Block a user