MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / realtestSocketAuth

Method realtestSocketAuth

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

Source from the content-addressed store, hash-verified

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

Callers 2

testSocketAuthMethod · 0.95

Calls 3

TempUserClass · 0.85
cursorMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected