Skip to content

Issue/136 logout button #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[runtests] Set base_url in test environments
This gets rid of a warning in the log output, and
makes testing redirections easier with MockRequest.
  • Loading branch information
bmispelon committed Feb 3, 2024
commit 95bfb2cb0fbc41b619fa35a90996f94e9aa416cd
2 changes: 2 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ def createTracEnvironment(cls, **kwargs):
with open(d(CONF), 'rb') as fp:
conf.readfp(fp)

conf.set('trac', 'base_url', URL)

conf.add_section('components')
conf.set('components', 'trac.versioncontrol.web_ui.browser.BrowserModule', 'disabled')
conf.set('components', 'trac.versioncontrol.web_ui.changeset.ChangesetModule', 'disabled')
Expand Down