Mercurial > kallithea
comparison pylons_app/lib/db_manage.py @ 533:53aa1ee1af86
updated tests for new version 6char password etc...
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 01 Oct 2010 02:04:32 +0200 |
parents | fefffd6fd5f4 |
children |
comparison
equal
deleted
inserted
replaced
532:946ed2955f48 | 533:53aa1ee1af86 |
---|---|
86 password = getpass.getpass('Specify admin password:') | 86 password = getpass.getpass('Specify admin password:') |
87 email = raw_input('Specify admin email:') | 87 email = raw_input('Specify admin email:') |
88 self.create_user(username, password, email, True) | 88 self.create_user(username, password, email, True) |
89 else: | 89 else: |
90 log.info('creating admin and regular test users') | 90 log.info('creating admin and regular test users') |
91 self.create_user('test_admin', 'test', 'test_admin@mail.com', True) | 91 self.create_user('test_admin', 'test12', 'test_admin@mail.com', True) |
92 self.create_user('test_regular', 'test', 'test_regular@mail.com', False) | 92 self.create_user('test_regular', 'test12', 'test_regular@mail.com', False) |
93 self.create_user('test_regular2', 'test', 'test_regular2@mail.com', False) | 93 self.create_user('test_regular2', 'test12', 'test_regular2@mail.com', False) |
94 | 94 |
95 | 95 |
96 | 96 |
97 def config_prompt(self, test_repo_path=''): | 97 def config_prompt(self, test_repo_path=''): |
98 log.info('Setting up repositories config') | 98 log.info('Setting up repositories config') |