You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/07 20:39:25 UTC

[GitHub] [airflow] retornam commented on a change in pull request #7653: [AIRFLOW-6914] Add a default robots.txt

retornam commented on a change in pull request #7653: [AIRFLOW-6914] Add a default robots.txt
URL: https://github.com/apache/airflow/pull/7653#discussion_r405097960
 
 

 ##########
 File path: tests/www/test_views.py
 ##########
 @@ -319,6 +319,11 @@ def test_not_found(self):
         resp = self.client.get('/', follow_redirects=True)
         self.assertEqual(resp.status_code, 404)
 
+    def test_robots_txt(self):
+        resp = self.client.get('/test/robots.txt', follow_redirects=True)
 
 Review comment:
   @ashb we set the default url in the config for the test to include `/test/`
   https://github.com/apache/airflow/blob/master/tests/www/test_views.py#L303
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services