OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tests.test_cursor Namespace Reference

Classes

class  TestCursor
 

Functions

def mock_connection
 

Function Documentation

def tests.test_cursor.mock_connection (   mock_client)
Connection with mocked transport layer, and

- username='user'
- password='password'
- host='localhost'
- dbname='dbname'

Definition at line 7 of file test_cursor.py.

References heavydb.connection.connect().

7 
8 def mock_connection(mock_client):
9  """Connection with mocked transport layer, and
10 
11  - username='user'
12  - password='password'
13  - host='localhost'
14  - dbname='dbname'
15  """
16  return connect(
17  user='user', password='password', host='localhost', dbname='dbname'
18  )
19 

+ Here is the call graph for this function: