def _SendHTTPRequest(self, user, pwd, otp_entry, exp_code, exp_has_cookie):
    post_body = 'username=%s&password=%s&otp=%s' % (user, pwd, otp_entry)
    headers = {'Content-Type': 'application/x-www-form-urlencoded',
               'X-Xsrftoken': 'fake_xsrf',
               'Cookie': '_xsrf=fake_xsrf'}
    url = self._tester.GetUrl('/admin/otp')
    self._tester.http_client.fetch(
      url, callback=partial(self._VerifyAdminAuthResponse, exp_code, exp_has_cookie),
      method='POST', body=post_body, follow_redirects=False, headers=headers)
Do some sanity checks on the interaction registry.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/admin_auth_test.py/AdminAuthTestCase._SendHTTPRequest--crossover with--dataset/ETHPy150Open oppia/oppia/core/domain/interaction_registry_test.py/InteractionRegistryUnitTests.test_interaction_registry