Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
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
Bienvenido Villabroza
willowisp
Commits
25f42d67
Commit
25f42d67
authored
Mar 07, 2020
by
thisLexic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added correct home_page.html
parent
7c8bf5e2
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
6 deletions
+62
-6
geckodriver.log
willowisp/geckodriver.log
+27
-0
tests.cpython-37.pyc
willowisp/heroes/__pycache__/tests.cpython-37.pyc
+0
-0
views.cpython-37.pyc
willowisp/heroes/__pycache__/views.cpython-37.pyc
+0
-0
home_page.html
willowisp/heroes/templates/heroes/home_page.html
+29
-0
tests.py
willowisp/heroes/tests.py
+5
-4
views.py
willowisp/heroes/views.py
+1
-2
No files found.
willowisp/geckodriver.log
View file @
25f42d67
...
...
@@ -164,3 +164,30 @@ JavaScript error: resource://gre/modules/Sqlite.jsm, line 912: Error: Connection
1583562755585 Marionette INFO Stopped listening on port 46727
JavaScript error: resource://activity-stream/lib/ActivityStreamPrefs.jsm, line 27: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIPrefBranch.removeObserver]
JavaScript error: resource://services-settings/RemoteSettingsClient.jsm, line 144: Error: Unknown callback
1583563447740 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileUUBIXo"
1583563451511 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583563453114 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583563453114 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583563453115 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583563453115 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583563459661 Marionette INFO Listening on port 36403
1583563459729 Marionette WARN TLS certificate errors will be ignored for this session
1583563461480 Marionette INFO Stopped listening on port 36403
1583563461723 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
_activateAddon@XPIInstall.jsm:4365:7
1583563461724 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
_activateAddon@XPIInstall.jsm:4365:7
1583563461819 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
_activateAddon@XPIInstall.jsm:4365:7
1583563461820 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
_activateAddon@XPIInstall.jsm:4365:7
willowisp/heroes/__pycache__/tests.cpython-37.pyc
View file @
25f42d67
No preview for this file type
willowisp/heroes/__pycache__/views.cpython-37.pyc
View file @
25f42d67
No preview for this file type
willowisp/heroes/templates/heroes/home_page.html
0 → 100644
View file @
25f42d67
<!DOCTYPE html>
<html>
<head>
<title>
The Will of the Wisps Wiki
</title>
</head>
<body>
<h1><a
id=
"cName"
>
Cloud
</a></h1>
<dl>
<dt
id=
"cHealth"
>
Health Points
</dt><dd>
600
</dd>
<dt
id=
"cAttack"
>
Base Attack Damage
</dt><dd>
57
</dd>
</dl>
<h1><a
id=
"jName"
>
Jester
</a></h1>
<dl>
<dt
id=
"jHealth"
>
Health Points
</dt><dd>
660
</dd>
<dt
id=
"jAttack"
>
Base Attack Damage
</dt><dd>
64
</dd>
</dl>
<h1><a
id=
"sName"
>
Sunflowey
</a></h1>
<dl>
<dt
id=
"sHealth"
>
Health Points
</dt><dd>
650
</dd>
<dt
id=
"sAttack"
>
Base Attack Damage
</dt><dd>
43
</dd>
</dl>
</body>
</html>
\ No newline at end of file
willowisp/heroes/tests.py
View file @
25f42d67
from
selenium
import
webdriver
import
unittest
import
time
class
NewVisitorTest
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
browser
=
webdriver
.
Firefox
()
...
...
@@ -14,8 +12,11 @@ class NewVisitorTest(unittest.TestCase):
# Widget has heard about a new wiki app for the game called The Will of the Wisps.
# She goes to check out its homepage
# self.browser.get('http://127.0.0.1:8000/')
self
.
browser
.
get
(
'http://127.0.0.1:8000'
)
# She notices the page title and header mention
# 'The Will of the Wisps Wiki'
self
.
assertIn
(
'The Will of the Wisps Wiki'
,
self
.
browser
.
title
)
self
.
fail
(
'Finish the test!'
)
\ No newline at end of file
willowisp/heroes/views.py
View file @
25f42d67
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
def
home_page
(
request
):
return
HttpResponse
(
'hi'
)
\ No newline at end of file
return
render
(
request
,
'heroes/home_page.html'
)
\ No newline at end of file
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