Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
ots
hypha
Commits
8fa43896
Commit
8fa43896
authored
4 years ago
by
Fredrik Jonsson
Browse files
Options
Downloads
Patches
Plain Diff
No translations needed in tests.
parent
ce967a8e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/apply/funds/tests/test_models.py
+1
-2
1 addition, 2 deletions
hypha/apply/funds/tests/test_models.py
with
1 addition
and
2 deletions
hypha/apply/funds/tests/test_models.py
+
1
−
2
View file @
8fa43896
...
...
@@ -9,7 +9,6 @@ from django.core import mail
from
django.core.exceptions
import
ValidationError
from
django.test
import
TestCase
,
override_settings
from
django.urls
import
reverse
from
django.utils.translation
import
gettext_lazy
from
hypha.apply.funds.blocks
import
EmailBlock
,
FullNameBlock
from
hypha.apply.funds.models
import
ApplicationSubmission
,
Reminder
...
...
@@ -216,7 +215,7 @@ class TestFormSubmission(TestCase):
if
isinstance
(
field
.
block
,
FullNameBlock
):
data
[
field
.
id
]
=
self
.
name
if
name
is
None
else
name
if
draft
:
data
[
'
draft
'
]
=
gettext_lazy
(
"
Save Draft
"
)
data
[
'
draft
'
]
=
'
Save Draft
'
request
=
make_request
(
user
,
data
,
method
=
'
post
'
,
site
=
self
.
site
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment