Skip to content

Commit

Permalink
Add mock for set_character_set()
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 28, 2022
1 parent 06c888b commit f8b93f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/saliweb/test/MySQLdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def __init__(self):
self._jobs = []
self._incoming_jobs = []

def set_character_set(self, charset):
pass

def cursor(self):
return _MockCursor(self)

Expand Down

0 comments on commit f8b93f5

Please sign in to comment.