##// END OF EJS Templates
tests: Fix test that modifies test repo settings....
Martin Bornhold -
r397:4367a81c default
parent child Browse files
Show More
@@ -87,13 +87,16 b' class TestAdminRepoSettingsController:'
87 87 if backend.alias not in setting_backends:
88 88 pytest.skip('Setting not available for backend {}'.format(backend))
89 89
90 settings_model = SettingsModel(repo=backend.repo)
90 repo = backend.create_repo()
91
92 settings_model = SettingsModel(repo=repo)
91 93 vcs_settings_url = url(
92 'repo_vcs_settings', repo_name=backend.repo.repo_name)
94 'repo_vcs_settings', repo_name=repo.repo_name)
93 95
94 96 self.app.post(
95 97 vcs_settings_url,
96 98 params={
99 'inherit_global_settings': False,
97 100 'new_svn_branch': 'dummy-value-for-testing',
98 101 'new_svn_tag': 'dummy-value-for-testing',
99 102 'rhodecode_{}'.format(setting_name): 'true',
@@ -105,6 +108,7 b' class TestAdminRepoSettingsController:'
105 108 self.app.post(
106 109 vcs_settings_url,
107 110 params={
111 'inherit_global_settings': False,
108 112 'new_svn_branch': 'dummy-value-for-testing',
109 113 'new_svn_tag': 'dummy-value-for-testing',
110 114 'rhodecode_{}'.format(setting_name): 'false',
General Comments 0
You need to be logged in to leave comments. Login now