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/30 12:50:23 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #8633: Reduce response payload size of /dag_stats and /task_stats

kaxil commented on a change in pull request #8633:
URL: https://github.com/apache/airflow/pull/8633#discussion_r417984584



##########
File path: tests/www/test_views.py
##########
@@ -521,6 +521,8 @@ def test_dag_stats(self):
     def test_task_stats(self):
         resp = self.client.post('task_stats', follow_redirects=True)
         self.assertEqual(resp.status_code, 200)
+        self.assertEqual(set(resp.json().items()[0][1][0].keys()),

Review comment:
       The below might fix it
   
   ```suggestion
           self.assertEqual(set(resp.json.items()[0][1][0].keys()),
   ```




----------------------------------------------------------------
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