You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by xd...@apache.org on 2021/01/31 09:12:04 UTC

[airflow] branch master updated: Fix docs url in tests (#13992)

This is an automated email from the ASF dual-hosted git repository.

xddeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 9840e40  Fix docs url in tests (#13992)
9840e40 is described below

commit 9840e406fd20b91959d603a42f381b014e86d2b3
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Jan 31 09:11:52 2021 +0000

    Fix docs url in tests (#13992)
    
    https://github.com/apache/airflow/pull/13250 missed a case to update
    URL in `tests/www/test_views.py`.
---
 tests/www/test_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/www/test_views.py b/tests/www/test_views.py
index 69bcb8b..76e8b2a 100644
--- a/tests/www/test_views.py
+++ b/tests/www/test_views.py
@@ -499,7 +499,7 @@ class TestAirflowBaseViews(TestBase):
                 "http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/"
             )
         else:
-            airflow_doc_site = f'https://airflow.apache.org/docs/{version.version}'
+            airflow_doc_site = f'https://airflow.apache.org/docs/apache-airflow/{version.version}'
 
         self.check_content_in_response(airflow_doc_site, resp)
         self.check_content_in_response("/api/v1/ui", resp)