Commits

Gustavo Picon  committed 82c0a75

PEP8 test_bus

  • Participants
  • Parent commits 60ee20f

Comments (0)

Files changed (1)

File magicbus/test/test_bus.py

             time.sleep(0.2)
             getattr(b, method)()
 
-        for method_, states in [('start', [b.states.STARTED]),
-                               ('stop', [b.states.STOPPED]),
-                               ('start',
-                                [b.states.STARTING, b.states.STARTED]),
-                               ('exit', [b.states.EXITING]),
-                               ]:
+        for method_, states in [
+                ('start', [b.states.STARTED]),
+                ('stop', [b.states.STOPPED]),
+                ('start', [b.states.STARTING, b.states.STARTED]),
+                ('exit', [b.states.EXITING])
+        ]:
             threading.Thread(target=f, args=(method_,)).start()
             b.wait(states)