Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Midterm_Project
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
Ayn Collado
Midterm_Project
Commits
9c96f7d7
Commit
9c96f7d7
authored
Mar 18, 2020
by
Ayn Collado
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I uhh did something to tests and urls apparently
parent
eb8dcae1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
tests.py
thegoodplace/froyo/tests.py
+5
-0
urls.py
thegoodplace/thegoodplace/urls.py
+1
-1
No files found.
thegoodplace/froyo/tests.py
View file @
9c96f7d7
...
...
@@ -8,6 +8,11 @@ class NewVisitorTest(unittest.TestCase):
def
tearDown
(
self
):
self
.
browser
.
quit
()
def
test_every_test_is_in_here
(
self
):
#Ingredients_list test
self
.
browser
.
get
(
'http://localhost:8000/ingredients_list/'
)
self
.
assertIn
(
'Ingredients - List'
,
self
.
browser
.
title
)
def
test_Fail_Test
(
self
):
self
.
fail
(
'Finished the test!'
)
...
...
thegoodplace/thegoodplace/urls.py
View file @
9c96f7d7
...
...
@@ -18,5 +18,5 @@ from django.urls import include, path
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
r'
'
,
include
(
'froyo.urls'
)),
path
(
r'
froyo/'
,
include
(
'froyo.urls'
)),
]
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