##// END OF EJS Templates
fixed tests for new locking flag of repos groups
marcink -
r2754:c7a6af66 beta
parent child Browse files
Show More
@@ -53,7 +53,8 b' class TestReposGroups(unittest.TestCase)'
53 group_description=desc,
53 group_description=desc,
54 group_parent_id=parent_id,
54 group_parent_id=parent_id,
55 perms_updates=[],
55 perms_updates=[],
56 perms_new=[]
56 perms_new=[],
57 enable_locking=False
57 )
58 )
58 gr = ReposGroupModel().update(id_, form_data)
59 gr = ReposGroupModel().update(id_, form_data)
59 return gr
60 return gr
@@ -130,7 +131,8 b' class TestReposGroups(unittest.TestCase)'
130 private=False,
131 private=False,
131 repo_type='hg',
132 repo_type='hg',
132 clone_uri=None,
133 clone_uri=None,
133 landing_rev='tip')
134 landing_rev='tip',
135 enable_locking=False)
134 cur_user = User.get_by_username(TEST_USER_ADMIN_LOGIN)
136 cur_user = User.get_by_username(TEST_USER_ADMIN_LOGIN)
135 r = RepoModel().create(form_data, cur_user)
137 r = RepoModel().create(form_data, cur_user)
136
138
General Comments 0
You need to be logged in to leave comments. Login now