Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
chocapix-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Camille MASSET
chocapix-server
Commits
1fdd7968
Verified
Commit
1fdd7968
authored
Nov 23, 2019
by
Camille MASSET
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to python 3.5
parent
5013cf4e
Pipeline
#6432
passed with stage
in 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bars_items/tests.py
bars_items/tests.py
+1
-1
environment.yml
environment.yml
+2
-2
No files found.
bars_items/tests.py
View file @
1fdd7968
...
...
@@ -199,7 +199,7 @@ class SellItemTests(ItemTests, AutoTestBarMixin):
update_data
=
self
.
update_data
.
copy
()
update_data
[
'unit_factor'
]
=
20
old_sell_to_buy
=
self
.
stockitem
.
sell_to_buy
response
=
self
.
client
.
put
(
"/sellitem/
%d/?bar=%s"
%
(
self
.
sellitem
.
id
,
self
.
bar
),
update_data
)
response
=
self
.
client
.
put
(
"/sellitem/
{:d}/?bar={:s}"
.
format
(
self
.
sellitem
.
id
,
self
.
bar
.
id
),
update_data
)
self
.
assertEqual
(
response
.
status_code
,
200
)
self
.
assertAlmostEqual
(
reload
(
self
.
stockitem
).
sell_to_buy
,
old_sell_to_buy
/
update_data
[
'unit_factor'
])
...
...
environment.yml
View file @
1fdd7968
...
...
@@ -2,14 +2,14 @@ name: chocapix
channels
:
-
conda-forge
dependencies
:
-
python=
2.7
-
python=
3.5
-
markdown=2.6.2
-
mock=1.3.0
-
psycopg2=2.6
-
requests=2.8.1
-
sqlparse=0.1.16
-
werkzeug=0.10.4
-
openssl
=1.1.1d
-
openssl
-
pip
:
-
app_version==1.0.1
-
django-cors-headers==1.1.0
...
...
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