MySQL server mocking for Python testing purposes