Rollback some code reordering to fix references
@@ -18,11 +18,6 @@ import unittest2
from st2common.stream import listener
-INCLUDE = "test"
-END_EVENT = "test_end_event"
-END_ID = "test_end_id"
-EVENTS = [(INCLUDE, MockBody("notend")), (END_EVENT, MockBody(END_ID))]
-
class MockBody(object):
@@ -31,6 +26,12 @@ class MockBody(object):
self.status = "succeeded"
+INCLUDE = "test"
+END_EVENT = "test_end_event"
+END_ID = "test_end_id"
+EVENTS = [(INCLUDE, MockBody("notend")), (END_EVENT, MockBody(END_ID))]
+
+
class MockQueue():
def __init__(self):
