Commits

Gary Bernhardt  committed 52f205a

Updated tests for the latest version of Dingus

  • Participants
  • Parent commits 7dd59fb

Comments (0)

Files changed (2)

File tests/test_frame.py

 
 
 class WhenUsingIntermediateMQueue(DingusTestCase(IntermediateMessageQueue,
-    'Queue', 'QueueEmpty')):
+    exclude=['Queue', 'QueueEmpty'])):
 
     def setup(self):
         super(WhenUsingIntermediateMQueue, self).setup()
         assert ret_frame is None
 
 
-class WhenParsingFrames(DingusTestCase(Frame, "UnknownBrokerResponseError",
-        "BrokerErrorResponse")):
+class WhenParsingFrames(DingusTestCase(Frame,
+        exclude=["UnknownBrokerResponseError", "BrokerErrorResponse"])):
 
     def setup(self):
         super(WhenParsingFrames, self).setup()

File tests/test_simple.py

 from stompy.simple import Client, TransactionError
 
 
-class WhenUsingSimpleClient(DingusTestCase(Client, 'TransactionError',
-    'Empty')):
+class WhenUsingSimpleClient(DingusTestCase(Client,
+    exclude=['TransactionError', 'Empty'])):
 
     def setup(self):
         super(WhenUsingSimpleClient, self).setup()