summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2012-05-21 16:26:46 -0400
committer?ric Araujo <merwok@netwok.org>2012-05-21 16:26:46 -0400
commit72ced396b9c949aec17a3196d12957138299aeda (patch)
tree7b9b6a5702bfcea3095cd6014b73514039c6e3fb
parent6d87420768fa80dfb30b9f4fa17c4dd4d38034cf (diff)
downloaddisutils2-72ced396b9c949aec17a3196d12957138299aeda.tar.gz
Fix overlooked thinkos in one test file
-rw-r--r--distutils2/tests/test_run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/distutils2/tests/test_run.py b/distutils2/tests/test_run.py
index eacec91..6f87a67 100644
--- a/distutils2/tests/test_run.py
+++ b/distutils2/tests/test_run.py
@@ -105,19 +105,19 @@ class RunTestCase(support.TempdirManager,
def test_invalid_command(self):
out, err = self.call_pysetup_fail('run', 'com#mand')
- self.assertGreater(out, 1)
+ self.assertGreater(out, '')
self.assertEqual(err.splitlines(),
["error: invalid command name 'com#mand'"])
def test_unknown_command(self):
out, err = self.call_pysetup_fail('run', 'invalid_command')
- self.assertGreater(out, 1)
+ self.assertGreater(out, '')
self.assertEqual(err.splitlines(),
["error: command 'invalid_command' not recognized"])
def test_unknown_action(self):
out, err = self.call_pysetup_fail('invalid_action')
- self.assertGreater(out, 1)
+ self.assertGreater(out, '')
self.assertEqual(err.splitlines(),
["error: action 'invalid_action' not recognized"])