airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-1180) Fix flask-wtf version in for test_csrf_rejection
Date Mon, 08 May 2017 15:09:04 GMT
Kengo Seki created AIRFLOW-1180:

             Summary: Fix flask-wtf version in for test_csrf_rejection
                 Key: AIRFLOW-1180
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Kengo Seki

I locally ran the core tests and got the following error:

FAIL: test_csrf_rejection (tests.core.SecurityTests)
Traceback (most recent call last):
  File "/home/vagrant/incubator-airflow/tests/", line 1530, in test_csrf_rejection
    self.assertIn('CSRF token is missing','utf-8'))
AssertionError: 'CSRF token is missing' not found in u'<!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 3.2 Final//EN">\n<title>400 Bad Request</title>\n<h1>Bad Request</h1>\n<p>CSRF
token missing or incorrect.</p>\n'

[The expected string is added from Flask-WTF v0.14|],
but its version specified in is v0.12. So this test failed.

This message was sent by Atlassian JIRA

View raw message