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
65c073b6
Commit
65c073b6
authored
Feb 04, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin' into 2207-type-of-members
parents
16f87ccd
99ad4563
Pipeline
#1760
failed with stage
in 1 minute 33 seconds
Changes
16
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
81 additions
and
52 deletions
+81
-52
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
package.json
package.json
+2
-2
test_url.py
products/tests/test_url.py
+8
-3
reception_produits.js
reception/static/js/reception_produits.js
+0
-0
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
reception_produits.html
templates/reception/reception_produits.html
+6
-0
No files found.
envelops/tests/test_url.py
View file @
65c073b6
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 @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testInventoryUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/reception/'
)
assert
response
.
status_code
==
200
,
"Inventory url is not resolved"
members/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testMembersUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/members/'
)
assert
response
.
status_code
==
200
,
"Members url is not resolved"
orders/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testOrdersUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/orders/'
)
assert
response
.
status_code
==
200
,
"Orders url is not resolved"
outils/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
assert
1
==
1
\ No newline at end of file
package.json
View file @
65c073b6
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
},
},
"scripts"
:
{
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"lint"
:
"eslint . --max-warnings
326
'**/*.js'"
,
"lint"
:
"eslint . --max-warnings
292
'**/*.js'"
,
"lint-fix"
:
"eslint . --fix --max-warnings
326
'**/*.js'"
"lint-fix"
:
"eslint . --fix --max-warnings
292
'**/*.js'"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
...
...
products/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testProductsUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/products/'
)
assert
response
.
status_code
==
200
,
"Products url is not resolved"
reception/static/js/reception_produits.js
View file @
65c073b6
This diff is collapsed.
Click to expand it.
reception/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testReceptionUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/reception/'
)
assert
response
.
status_code
==
200
,
"Reception url is not resolved"
reception/tests/test_views.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
\ No newline at end of file
sales/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testSalesUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/sales/'
)
assert
response
.
status_code
==
200
,
"Sales url is not resolved"
shelfs/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testShelfsUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/shelfs/'
)
assert
response
.
status_code
==
200
,
"Shelfs url is not resolved"
shifts/tests/test_url.py
View file @
65c073b6
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 @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testShopUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/shop/'
)
assert
response
.
status_code
==
200
,
"Shop url is not resolved"
stock/tests/test_url.py
View file @
65c073b6
from
django.test
import
SimpleTestCase
from
django.test
import
SimpleTestCase
from
django.test
import
Client
class
TestUrls
(
SimpleTestCase
):
class
TestUrls
(
SimpleTestCase
):
def
test_list_url_is_resolved
(
self
):
def
testStockUrlIsResolved
(
self
):
assert
1
==
1
\ No newline at end of file
c
=
Client
()
response
=
c
.
get
(
'/stock/'
)
assert
response
.
status_code
==
200
,
"Stock url is not resolved"
templates/reception/reception_produits.html
View file @
65c073b6
...
@@ -177,6 +177,12 @@
...
@@ -177,6 +177,12 @@
<div
id=
"modal_FAQ_content"
></div>
<div
id=
"modal_FAQ_content"
></div>
<div
id=
"modal_qtiesValidated"
></div>
<div
id=
"modal_qtiesValidated"
></div>
<div
id=
"modal_pricesValidated"
></div>
<div
id=
"modal_pricesValidated"
></div>
<div
id=
"modal_confirm_price_to_weight"
>
<h3>
Confirmation du prix
</h3>
<p>
Est ce que le prix au kilo du produit
<b><span
id=
"product_to_verify"
></span></b>
est bien
<b><span
id=
"price_to_verify"
></span></b>
euros/Kg ?
</p>
<input
type=
"number"
name=
"Prix au Kilo"
id=
"new_price_to_weight"
>
</div>
</div>
</div>
<br/>
<br/>
</div>
</div>
...
...
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