We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents deaec86 + b98c962 commit 694292eCopy full SHA for 694292e
runtests.py
@@ -166,6 +166,14 @@ def createTracEnvironment(cls, **kwargs):
166
conf.set('repositories', 'nogh.dir', os.path.realpath('%s/.git' % NOGHGIT))
167
conf.set('repositories', 'nogh.type', 'git')
168
169
+ # Show changed files in timeline, which will trigger the
170
+ # IPermissionPolicy code paths
171
+ conf.set('timeline', 'changeset_show_files', '-1')
172
+ old_permission_policies = conf.get('trac', 'permission_policies')
173
+ if 'GitHubPolicy' not in old_permission_policies:
174
+ conf.set('trac', 'permission_policies',
175
+ 'GitHubPolicy, %s' % old_permission_policies)
176
+
177
with open(CONF, 'wb') as fp:
178
conf.write(fp)
179
0 commit comments