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:
[email protected]


With regards,
Apache Git Services

Reply via email to