def get_user(self, username):

        sql = '''SELECT * FROM user WHERE username = ?'''
        self._db_curs.execute(sql, (username, ))
        user = self._db_curs.fetchone()
        return user
Mock the SMTPConnection close() interface
dataset/ETHPy150Open SpriteLink/NIPAP/nipap/nipap/authlib.py/SqliteAuth.get_user--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/test/utils.py/TestSMTPConnection.close