Browse files

add status code check to test_quoted_args

  • Loading branch information...
1 parent e8e4c70 commit 1ba22307429d6310219b3f6e0a824bde1b01e4a4 @llimllib llimllib committed Mar 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test_envoy.py
View
1 test_envoy.py
@@ -22,6 +22,7 @@ def test_quoted_args(self):
sentinel = 'quoted_args' * 3
r = envoy.run("python -c 'print \"%s\"'" % sentinel)
self.assertEqual(r.std_out.rstrip(), sentinel)
+ self.assertEqual(r.status_code, 0)
if __name__ == "__main__":
unittest.main()

0 comments on commit 1ba2230

Please sign in to comment.