Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
internewshid
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
Container Registry
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
Show more breadcrumbs
aptivate
client-projects
internewshid
Commits
7070714a
Commit
7070714a
authored
9 years ago
by
Martin Burchell
Browse files
Options
Downloads
Patches
Plain Diff
Removed duplicated test
parent
bab12abc
No related branches found
No related tags found
1 merge request
!31
Uncategorise
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
django/website/hid/tests/views_tests.py
+0
-19
0 additions, 19 deletions
django/website/hid/tests/views_tests.py
with
0 additions
and
19 deletions
django/website/hid/tests/views_tests.py
+
0
−
19
View file @
7070714a
...
...
@@ -230,25 +230,6 @@ def test_actions_includes_remove_question_type_option():
assert
'
remove-question-type
'
in
actions
[
'
items
'
]
@pytest.mark.django_db
def
test_actions_includes_remove_question_type_option
():
page
=
TabbedPageFactory
()
tab_instance
=
TabInstanceFactory
(
page
=
page
)
request
=
Mock
(
GET
=
{})
tab
=
ViewAndEditTableTab
()
term
=
TermFactory
()
categories
=
[
term
.
taxonomy
.
slug
]
context_data
=
tab
.
get_context_data
(
tab_instance
,
request
,
categories
=
categories
)
actions
=
context_data
[
'
actions
'
][
0
]
assert
actions
[
'
label
'
]
==
'
Actions
'
assert
'
remove-question-type
'
in
actions
[
'
items
'
]
@pytest.mark.django_db
def
test_upload_form_source_read_from_settings
():
page
=
TabbedPageFactory
()
...
...
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