Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS Lab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Niko M. Arceo
CS Lab
Commits
57e1a12c
Commit
57e1a12c
authored
Mar 06, 2020
by
Li Niko M. Arceo
🦈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unittest for sunflowey details works
parent
08d832a3
Pipeline
#742
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
tests.cpython-38.pyc
heroes/__pycache__/tests.cpython-38.pyc
+0
-0
tests.py
heroes/tests.py
+6
-0
No files found.
heroes/__pycache__/tests.cpython-38.pyc
View file @
57e1a12c
No preview for this file type
heroes/tests.py
View file @
57e1a12c
...
...
@@ -21,3 +21,9 @@ class JesterTemplateTest(TestCase):
def
test_uses_jester_template
(
self
):
response
=
self
.
client
.
get
(
'/heroes/jester'
)
self
.
assertTemplateUsed
(
response
,
'detail_jester.html'
)
class
SunfloweyTemplateTest
(
TestCase
):
def
test_uses_sunflowey_template
(
self
):
response
=
self
.
client
.
get
(
'/heroes/sunflowey'
)
self
.
assertTemplateUsed
(
response
,
'detail_sunflowey.html'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment