Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
SMASCH
scheduling-system
Commits
c280807a
There was a problem fetching the pipeline metadata.
Commit
c280807a
authored
8 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
String changed to const
parent
d1c934aa
No related branches found
No related tags found
1 merge request
!23
display appointment status as select field - #69
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
smash/web/tests/test_AppointmentEditForm.py
+2
-2
2 additions, 2 deletions
smash/web/tests/test_AppointmentEditForm.py
with
2 additions
and
2 deletions
smash/web/tests/test_AppointmentEditForm.py
+
2
−
2
View file @
c280807a
...
...
@@ -3,7 +3,7 @@ from django.test import TestCase
from
functions
import
get_test_location
,
create_user
,
create_visit
,
create_location
from
web.forms
import
AppointmentAddForm
from
web.forms
import
AppointmentEditForm
from
web.models
import
Worker
from
web.models
import
Appointment
,
Worker
class
AppointmentEditFormTests
(
TestCase
):
...
...
@@ -23,7 +23,7 @@ class AppointmentEditFormTests(TestCase):
'
datetime_when
'
:
"
2020-01-01
"
,
}
self
.
sample_data_with_status
=
self
.
sample_data
self
.
sample_data_with_status
[
'
status
'
]
=
'
NO_SHOW
'
self
.
sample_data_with_status
[
'
status
'
]
=
Appointment
.
APPOINTMENT_STATUS_
NO_SHOW
add_form
=
AppointmentAddForm
(
user
=
self
.
user
,
data
=
self
.
sample_data
)
add_form
.
instance
.
visit_id
=
self
.
visit
.
id
self
.
appointment
=
add_form
.
save
()
...
...
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