Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Jan Maximilian Michal
grady
Merge requests
!196
Resolve "Tests are not created when importing via frontend"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Tests are not created when importing via frontend"
193-tests-are-not-created-when-importing-via-frontend
into
master
Overview
0
Commits
1
Pipelines
9
Changes
2
Merged
Dominik Seeger
requested to merge
193-tests-are-not-created-when-importing-via-frontend
into
master
5 years ago
Overview
0
Commits
1
Pipelines
9
Changes
2
Expand
Closes
#193 (closed)
Edited
5 years ago
by
robinwilliam.hundt
0
0
Merge request reports
Viewing commit
5df7df2a
Show latest version
2 files
+
3
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
5df7df2a
tests are now created when importing via the frontend
· 5df7df2a
Dominik Seeger
authored
5 years ago
core/models/feedback.py
+
0
−
20
Options
@@ -41,26 +41,6 @@ class Feedback(models.Model):
# the denominators that are allowed for the decimal score interpreted as a fraction
ALLOWED_DENOMINATORS
=
[
1
,
2
]
# how was this feedback created
(
WAS_EMPTY
,
FAILED_UNIT_TESTS
,
DID_NOT_COMPILE
,
COULD_NOT_LINK
,
MANUAL
,
)
=
range
(
5
)
ORIGIN
=
(
(
WAS_EMPTY
,
'
was empty
'
),
(
FAILED_UNIT_TESTS
,
'
passed unittests
'
),
(
DID_NOT_COMPILE
,
'
did not compile
'
),
(
COULD_NOT_LINK
,
'
could not link
'
),
(
MANUAL
,
'
created by a human. yak!
'
),
)
origin
=
models
.
IntegerField
(
choices
=
ORIGIN
,
default
=
MANUAL
,
)
class
Meta
:
verbose_name
=
"
Feedback
"
verbose_name_plural
=
"
Feedback Set
"
Loading