Skip to content

Commit

Permalink
updated appveyor python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
artembo committed Aug 16, 2020
1 parent 2ab98b7 commit ec49ff7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python34"
- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"

install:
# install runtime dependencies
Expand Down
2 changes: 1 addition & 1 deletion tarantool/dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def execute(self, query, params=None):
try:
self._rowcount = response.rowcount
except InterfaceError:
self._rowcount = -1
self._rowcount = 1
else:
self._rowcount = -1

Expand Down
10 changes: 0 additions & 10 deletions unit/suites/box_dbapi.lua

This file was deleted.

5 changes: 4 additions & 1 deletion unit/suites/test_dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,15 @@ def setUpClass(cls):

def setUp(self):
self.srv = TarantoolServer()
self.srv.script = 'unit/suites/box_dbapi.lua'
self.srv.script = 'unit/suites/box.lua'
self.srv.start()
self.driver = Connection(self.srv.host, self.srv.args['primary'])
# prevent a remote tarantool from clean our session
if self.srv.is_started():
self.srv.touch_lock()
# grant full access to guest
self.srv.admin("box.schema.user.grant('guest', 'create,read,write,"
"execute', 'universe')")

def tearDown(self):
# self.driver.close()
Expand Down

0 comments on commit ec49ff7

Please sign in to comment.