MCPcopy 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_queryFunction · 0.80
__check_tableFunction · 0.80
__repair_tableFunction · 0.80
__optimize_tableFunction · 0.80
__password_columnFunction · 0.80
__get_auth_pluginFunction · 0.80
queryFunction · 0.80
statusFunction · 0.80
versionFunction · 0.80
slave_lagFunction · 0.80
free_slaveFunction · 0.80
db_listFunction · 0.80

Calls 1

MockSqlite3Class · 0.85

Tested by

no test coverage detected