Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/saltstack/salt
/ cursor
Method
cursor
tests/unit/modules/test_sqlite3.py:31–35 ·
view source on GitHub ↗
Mock connect method
()
Source
from the content-addressed store, hash-verified
29
30
@staticmethod
31
def
cursor():
32
""
"
33
Mock connect method
34
""
"
35
return
MockSqlite3()
36
37
@staticmethod
38
def
execute(sql):
Callers
15
run_query
Function · 0.80
__check_table
Function · 0.80
__repair_table
Function · 0.80
__optimize_table
Function · 0.80
__password_column
Function · 0.80
__get_auth_plugin
Function · 0.80
query
Function · 0.80
status
Function · 0.80
version
Function · 0.80
slave_lag
Function · 0.80
free_slave
Function · 0.80
db_list
Function · 0.80
Calls
1
MockSqlite3
Class · 0.85
Tested by
no test coverage detected