MCPcopy
hub / github.com/PyMySQL/PyMySQL / realtestSocketAuth

Method realtestSocketAuth

pymysql/tests/test_connection.py:141–148  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 self.realtestSocketAuth()
140
141 def realtestSocketAuth(self):
142 with TempUser(
143 self.connect().cursor(),
144 TestAuthentication.osuser + "@localhost",
145 self.databases[0]["database"],
146 self.socket_plugin_name,
147 ):
148 pymysql.connect(user=TestAuthentication.osuser, **self.db)
149
150 class Dialog:
151 fail = False

Callers 2

testSocketAuthMethod · 0.95

Calls 3

TempUserClass · 0.85
cursorMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected