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.
1 parent 94c834d commit b98c962Copy full SHA for b98c962
runtests.py
@@ -165,6 +165,14 @@ def createTracEnvironment(cls, **kwargs):
165
conf.set('repositories', 'nogh.dir', os.path.realpath('%s/.git' % NOGHGIT))
166
conf.set('repositories', 'nogh.type', 'git')
167
168
+ # Show changed files in timeline, which will trigger the
169
+ # IPermissionPolicy code paths
170
+ conf.set('timeline', 'changeset_show_files', '-1')
171
+ old_permission_policies = conf.get('trac', 'permission_policies')
172
+ if 'GitHubPolicy' not in old_permission_policies:
173
+ conf.set('trac', 'permission_policies',
174
+ 'GitHubPolicy, %s' % old_permission_policies)
175
+
176
with open(CONF, 'wb') as fp:
177
conf.write(fp)
178
0 commit comments