Changeset 1391 for django/branches/new-admin/tests
- Timestamp:
- 11/23/05 21:41:49 (3 years ago)
- Files:
-
- django/branches/new-admin/tests/runtests.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/new-admin/tests/runtests.py
r986 r1391 101 101 try: 102 102 cursor.execute("CREATE DATABASE %s" % TEST_DATABASE_NAME) 103 except Exception, e: 104 self.output(0, "There was an error creating the test database:%s " % str(e)) 103 except: 105 104 confirm = raw_input("The test database, %s, already exists. Type 'yes' to delete it, or 'no' to cancel: " % TEST_DATABASE_NAME) 106 105 if confirm == 'yes':
