Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
monkeysign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
monkeysphere
monkeysign
Merge requests
!16
do not load default config files in tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
do not load default config files in tests
no-config-test
into
2.x
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
anarcat
requested to merge
no-config-test
into
2.x
8 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes:
#57 (closed)
0
0
Merge request reports
Compare
2.x
2.x (base)
and
latest version
latest version
7fd03724
1 commit,
8 years ago
1 file
+
2
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
monkeysign/tests/test_ui.py
+
2
−
0
Options
@@ -238,6 +238,8 @@ class BaseTestCase(unittest.TestCase):
@@ -238,6 +238,8 @@ class BaseTestCase(unittest.TestCase):
self
.
args
=
[
'
--no-mail
'
]
+
self
.
args
+
[
x
for
x
in
sys
.
argv
[
1
:]
if
x
.
startswith
(
'
-
'
)
]
self
.
args
=
[
'
--no-mail
'
]
+
self
.
args
+
[
x
for
x
in
sys
.
argv
[
1
:]
if
x
.
startswith
(
'
-
'
)
]
if
self
.
pattern
is
not
None
:
if
self
.
pattern
is
not
None
:
self
.
args
+=
[
self
.
pattern
]
self
.
args
+=
[
self
.
pattern
]
# do not read system-wide configs in tests
MonkeysignArgumentParser
.
configs
=
[]
self
.
ui
=
MonkeysignUi
(
self
.
args
)
self
.
ui
=
MonkeysignUi
(
self
.
args
)
self
.
ui
.
keyring
=
TempKeyring
()
self
.
ui
.
keyring
=
TempKeyring
()
self
.
ui
.
prepare
()
# needed because we changed the base keyring
self
.
ui
.
prepare
()
# needed because we changed the base keyring
Loading