Skip to content

Commit

Permalink
Fix test for Airflow docs (#13561)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxil committed Jan 22, 2021
1 parent d581281 commit 7a3bf15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/www_rbac/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,9 @@ def test_index(self):
def test_doc_site_url(self):
resp = self.client.get('/', follow_redirects=True)
if "dev" in version.version:
airflow_doc_site = "https://airflow.readthedocs.io/en/latest"
airflow_doc_site = "https://s.apache.org/airflow-docs"
else:
airflow_doc_site = 'https://airflow.apache.org/docs/{}'.format(version.version)
airflow_doc_site = 'https://airflow.apache.org/docs/apache-airflow/{}'.format(version.version)

self.check_content_in_response(airflow_doc_site, resp)

Expand Down

0 comments on commit 7a3bf15

Please sign in to comment.