--- a/testing/vcttesting/unittest.py
+++ b/testing/vcttesting/unittest.py
@@ -218,20 +218,20 @@ class MozReviewWebDriverTest(MozReviewTe
kf = os.path.join(self.mr._path, 'keys', email)
self.ldap.create_user(email, username, uid, name, key_filename=kf,
scm_level=scm_level)
def user_bugzilla(self, email):
"""Obtain a Bugzilla handle for a given user, specified by email address."""
return self.bugzilla(username=email, password=self.users[email][0])
- def create_basic_repo(self, email, nick):
- self.mr.create_repository('test_repo')
+ def create_basic_repo(self, email, nick, name='test_repo'):
+ self.mr.create_repository(name)
lr = self.mr.get_local_repository(
- 'test_repo',
+ name,
ircnick=nick,
bugzilla_username=email,
bugzilla_apikey=self.users[email][2])
lr.touch('foo')
lr.run(['commit', '-A', '-m', 'initial'])
lr.run(['phase', '--public', '-r', '0'])
return lr