def testBadPassword(self):
    otp._ClearUserHistory()
    self._SendJSONRequest('test-user', 'wrong-password', otp.GetOTP('test-user'), 200, False)
    self.wait()
Finds the user and checks their API key.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/admin_auth_test.py/AdminAuthTestCase.testBadPassword--crossover with--dataset/ETHPy150Open django-tastypie/django-tastypie/tastypie/authentication.py/DigestAuthentication.is_authenticated