Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
992bbd36
Commit
992bbd36
authored
Aug 06, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test_resolution_url' into 'dev_principale'
Test resolution url See merge request
!51
parents
ad361176
24b95c05
Pipeline
#1271
passed with stage
in 1 minute 24 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
73 additions
and
50 deletions
+73
-50
test_url.py
envelops/tests/test_url.py
+0
-7
test_url.py
inventory/tests/test_url.py
+8
-3
test_url.py
members/tests/test_url.py
+8
-3
test_url.py
orders/tests/test_url.py
+8
-3
test_url.py
outils/tests/test_url.py
+0
-7
test_url.py
products/tests/test_url.py
+8
-3
test_url.py
reception/tests/test_url.py
+8
-3
test_views.py
reception/tests/test_views.py
+1
-2
test_url.py
sales/tests/test_url.py
+8
-3
test_url.py
shelfs/tests/test_url.py
+8
-3
test_url.py
shifts/tests/test_url.py
+0
-7
test_url.py
shop/tests/test_url.py
+8
-3
test_url.py
stock/tests/test_url.py
+8
-3
No files found.
envelops/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
inventory/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testInventoryUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/reception/'
)
assert
response
.
status_code
==
200
,
"Inventory url is not resolved"
members/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testMembersUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/members/'
)
assert
response
.
status_code
==
200
,
"Members url is not resolved"
orders/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testOrdersUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/orders/'
)
assert
response
.
status_code
==
200
,
"Orders url is not resolved"
outils/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
products/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testProductsUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/products/'
)
assert
response
.
status_code
==
200
,
"Products url is not resolved"
reception/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testReceptionUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/reception/'
)
assert
response
.
status_code
==
200
,
"Reception url is not resolved"
reception/tests/test_views.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
\ No newline at end of file
from
django.test
import
SimpleTestCase
sales/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testSalesUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/sales/'
)
assert
response
.
status_code
==
200
,
"Sales url is not resolved"
shelfs/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testShelfsUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/shelfs/'
)
assert
response
.
status_code
==
200
,
"Shelfs url is not resolved"
shifts/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
shop/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testShopUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/shop/'
)
assert
response
.
status_code
==
200
,
"Shop url is not resolved"
stock/tests/test_url.py
View file @
992bbd36
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
def
testStockUrlIsResolved
(
self
):
c
=
Client
()
response
=
c
.
get
(
'/stock/'
)
assert
response
.
status_code
==
200
,
"Stock url is not resolved"
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