Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thegoodplace
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
thegoodplace
Commits
a6156bdf
Commit
a6156bdf
authored
Mar 18, 2020
by
thisLexic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
defined the setUp and tearDown function in tests.py of the froyo app
parent
7eecbc2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
tests.py
thegoodplace/froyo/tests.py
+10
-2
settings.py
thegoodplace/thegoodplace/settings.py
+1
-0
No files found.
thegoodplace/froyo/tests.py
View file @
a6156bdf
from
django.test
import
TestCase
import
unittest
from
django.urls
import
resolve
from
selenium
import
webdriver
# Create your tests here.
class
NewVisitorTest
(
unittest
.
TestCase
):
def
setUp
(
self
):
self
.
browser
=
webdriver
.
Firefox
()
def
tearDown
(
self
):
self
.
browser
.
quit
()
\ No newline at end of file
thegoodplace/thegoodplace/settings.py
View file @
a6156bdf
...
...
@@ -38,6 +38,7 @@ INSTALLED_APPS = [
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'froyo'
,
'selenium'
,
]
MIDDLEWARE
=
[
...
...
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