Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40-Lab1
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
Kyra Hung
CSCI40-Lab1
Commits
8b3c9a72
Commit
8b3c9a72
authored
Mar 06, 2020
by
KY-2187
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typo in tests.py
parent
72f16a60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests.py
Lab1/heroes/tests.py
+3
-3
No files found.
Lab1/heroes/tests.py
View file @
8b3c9a72
...
@@ -11,19 +11,19 @@ class heroesTest(TestCase):
...
@@ -11,19 +11,19 @@ class heroesTest(TestCase):
class
cloudTest
(
TestCase
):
class
cloudTest
(
TestCase
):
def
test_cloud_returns_correct_html
(
self
):
def
test_cloud_returns_correct_html
(
self
):
response
=
self
.
client
.
get
(
'/hero
es
/cloud'
)
response
=
self
.
client
.
get
(
'/hero/cloud'
)
self
.
assertTemplateUsed
(
response
,
'cloud.html'
)
self
.
assertTemplateUsed
(
response
,
'cloud.html'
)
class
sunfloweyTest
(
TestCase
):
class
sunfloweyTest
(
TestCase
):
def
test_sunflowey_returns_correct_html
(
self
):
def
test_sunflowey_returns_correct_html
(
self
):
response
=
self
.
client
.
get
(
'/hero
es
/sunflowey'
)
response
=
self
.
client
.
get
(
'/hero/sunflowey'
)
self
.
assertTemplateUsed
(
response
,
'sunflowey.html'
)
self
.
assertTemplateUsed
(
response
,
'sunflowey.html'
)
class
jesterTest
(
TestCase
):
class
jesterTest
(
TestCase
):
def
test_jester_returns_correct_html
(
self
):
def
test_jester_returns_correct_html
(
self
):
response
=
self
.
client
.
get
(
'/hero
es
/sunflowey'
)
response
=
self
.
client
.
get
(
'/hero/sunflowey'
)
self
.
assertTemplateUsed
(
response
,
'jester.html'
)
self
.
assertTemplateUsed
(
response
,
'jester.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