summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_command_register.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2011-09-12 02:13:02 +0200
committer?ric Araujo <merwok@netwok.org>2011-09-12 02:13:02 +0200
commitdafc33fbc0701fa2c2a3536a1c7b470d3051b67f (patch)
tree0bdf1529f3b8c6c5ee3dfbebea52673946940461 /distutils2/tests/test_command_register.py
parenta89e49a0feefd891338927c72f659f2ca7714368 (diff)
downloaddisutils2-dafc33fbc0701fa2c2a3536a1c7b470d3051b67f.tar.gz
Let the test suite run again
Diffstat (limited to 'distutils2/tests/test_command_register.py')
-rw-r--r--distutils2/tests/test_command_register.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/distutils2/tests/test_command_register.py b/distutils2/tests/test_command_register.py
index 6f6e98e..ddf606c 100644
--- a/distutils2/tests/test_command_register.py
+++ b/distutils2/tests/test_command_register.py
@@ -120,7 +120,7 @@ class RegisterTestCase(support.TempdirManager,
# Password : 'password'
# Save your login (y/N)? : 'y'
inputs = Inputs('1', 'tarek', 'y')
- register_module.input = inputs
+ register_module.raw_input = inputs
cmd.ensure_finalized()
cmd.run()
@@ -168,7 +168,7 @@ class RegisterTestCase(support.TempdirManager,
# this test runs choice 2
cmd = self._get_cmd()
inputs = Inputs('2', 'tarek', 'tarek@ziade.org')
- register_module.input = inputs
+ register_module.raw_input = inputs
# let's run the command
# FIXME does this send a real request? use a mock server
cmd.ensure_finalized()
@@ -185,7 +185,7 @@ class RegisterTestCase(support.TempdirManager,
# this test runs choice 3
cmd = self._get_cmd()
inputs = Inputs('3', 'tarek@ziade.org')
- register_module.input = inputs
+ register_module.raw_input = inputs
cmd.ensure_finalized()
cmd.run()
@@ -208,7 +208,7 @@ class RegisterTestCase(support.TempdirManager,
cmd.ensure_finalized()
cmd.strict = True
inputs = Inputs('1', 'tarek', 'y')
- register_module.input = inputs
+ register_module.raw_input = inputs
self.assertRaises(PackagingSetupError, cmd.run)
# metadata is OK but long_description is broken
@@ -229,7 +229,7 @@ class RegisterTestCase(support.TempdirManager,
cmd.ensure_finalized()
cmd.strict = True
inputs = Inputs('1', 'tarek', 'y')
- register_module.input = inputs
+ register_module.raw_input = inputs
cmd.ensure_finalized()
cmd.run()
@@ -237,7 +237,7 @@ class RegisterTestCase(support.TempdirManager,
cmd = self._get_cmd()
cmd.ensure_finalized()
inputs = Inputs('1', 'tarek', 'y')
- register_module.input = inputs
+ register_module.raw_input = inputs
cmd.ensure_finalized()
cmd.run()