Upgrade to python 3.5

parent 5013cf4e
Pipeline #6432 passed with stage
in 43 seconds
......@@ -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'])
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment