Skip to content

Commit ec49ff7

Browse files
committed
updated appveyor python versions
1 parent 2ab98b7 commit ec49ff7

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ environment:
22
matrix:
33
- PYTHON: "C:\\Python27"
44
- PYTHON: "C:\\Python27-x64"
5-
- PYTHON: "C:\\Python34"
6-
- PYTHON: "C:\\Python34-x64"
75
- PYTHON: "C:\\Python35"
86
- PYTHON: "C:\\Python35-x64"
97
- PYTHON: "C:\\Python36"
108
- PYTHON: "C:\\Python36-x64"
119
- PYTHON: "C:\\Python37"
1210
- PYTHON: "C:\\Python37-x64"
11+
- PYTHON: "C:\\Python38"
12+
- PYTHON: "C:\\Python38-x64"
1313

1414
install:
1515
# install runtime dependencies

tarantool/dbapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def execute(self, query, params=None):
103103
try:
104104
self._rowcount = response.rowcount
105105
except InterfaceError:
106-
self._rowcount = -1
106+
self._rowcount = 1
107107
else:
108108
self._rowcount = -1
109109

unit/suites/box_dbapi.lua

-10
This file was deleted.

unit/suites/test_dbapi.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ def setUpClass(cls):
2525

2626
def setUp(self):
2727
self.srv = TarantoolServer()
28-
self.srv.script = 'unit/suites/box_dbapi.lua'
28+
self.srv.script = 'unit/suites/box.lua'
2929
self.srv.start()
3030
self.driver = Connection(self.srv.host, self.srv.args['primary'])
3131
# prevent a remote tarantool from clean our session
3232
if self.srv.is_started():
3333
self.srv.touch_lock()
34+
# grant full access to guest
35+
self.srv.admin("box.schema.user.grant('guest', 'create,read,write,"
36+
"execute', 'universe')")
3437

3538
def tearDown(self):
3639
# self.driver.close()

0 commit comments

Comments
 (0)