Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
Lab1-Willowisp
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
Patrick James Ong
Lab1-Willowisp
Commits
8edb4d56
Commit
8edb4d56
authored
Mar 06, 2020
by
Patrick James Ong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed storyline part 4
parent
ab6ba34f
Pipeline
#824
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
tests.py
willowisp/heroes/tests.py
+1
-1
lab1_functional_test.py
willowisp/lab1_functional_test.py
+3
-3
No files found.
willowisp/heroes/tests.py
View file @
8edb4d56
willowisp/lab1_functional_test.py
View file @
8edb4d56
...
@@ -33,9 +33,9 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -33,9 +33,9 @@ class NewVisitorTest(unittest.TestCase):
# When she selects one of the heroes, she is sent to another page
# When she selects one of the heroes, she is sent to another page
# containing more information about the hero (additional stats, lore, image).
# containing more information about the hero (additional stats, lore, image).
self
.
assertIn
(
browser
.
getCurrentUrl
(),
'http://localhost:8000/hero/cloud'
)
browser
.
get
(
'http://localhost:8000/hero/cloud'
)
self
.
assertIn
(
browser
.
getCurrentUrl
(),
'http://localhost:8000/hero/sunflowey'
)
browser
.
get
(
'http://localhost:8000/hero/sunflowey'
)
self
.
assertIn
(
browser
.
getCurrentUrl
(),
'http://localhost:8000/hero/jester'
)
browser
.
get
(
'http://localhost:8000/hero/jester'
)
# She spots the page title and header mentions the name of the hero she selected.
# She spots the page title and header mentions the name of the hero she selected.
self
.
assertIn
(
'Cloud'
,
self
.
browser
.
title
)
self
.
assertIn
(
'Cloud'
,
self
.
browser
.
title
)
...
...
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