Skip to content
This repository
Browse code

general test for success

  • Loading branch information...
commit fb5a2bed27c42eec4bf7a6093b35cc4aeb8ed092 1 parent 150e3e1
mlaite authored April 23, 2010

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  client/test_client/test_context.py
6  client/test_client/test_context.py
@@ -34,6 +34,12 @@ def initialize(self):
34 34
         Context.initialize(self)
35 35
         raise Exception("I suck too")
36 36
 
  37
+def test_successful_command():
  38
+    c = Context()
  39
+
  40
+    (client_info, _, _) = do('foo', [ SuccessfulCommand() ], context=c)
  41
+    assert client_info['success']
  42
+
37 43
 def test_context_failure():
38 44
     c = FailedContextInit()
39 45
 

0 notes on commit fb5a2be

Please sign in to comment.
Something went wrong with that request. Please try again.