_spacing_

This commit is contained in:
andrei 2022-02-11 13:52:58 +02:00
parent 56c8f72570
commit 9676578e6c

View File

@ -7,7 +7,6 @@ class TarantoolDB:
def __init__(self, host, port, username, password):
self.conn = tarantool.connect(host=host, port=port, user=username, password=password)
def connect_to_sapce(self, spacename):
self.conn.space(spacename)
@ -22,9 +21,6 @@ def init_tarantool():
raise Exception("There is a instance of tarantool already created in %s" + os.getcwd() + "/tarantool_snap")
def drop_tarantool():
if os.path.exists(os.path.join(os.getcwd(), 'tarantool', 'init.lua')) is not True:
path = os.getcwd()