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

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new 1606f56  fixup! fixup! Avoid color info in response of /dag_stats & 
/task_stats (#8742)
1606f56 is described below

commit 1606f5640328b6fc567b1016081b88237177863e
Author: Kaxil Naik <[email protected]>
AuthorDate: Mon Jun 29 22:09:56 2020 +0100

    fixup! fixup! Avoid color info in response of /dag_stats & /task_stats 
(#8742)
---
 tests/www/test_views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/www/test_views.py b/tests/www/test_views.py
index c0dba5c..ac71ebb 100644
--- a/tests/www/test_views.py
+++ b/tests/www/test_views.py
@@ -1308,7 +1308,7 @@ class TestTaskStats(unittest.TestCase):
         self.assertIn('example_bash_operator', stats)
         self.assertIn('example_xcom', stats)
         self.assertEqual(set(stats['example_bash_operator'][0].keys()),
-                         {'state', 'count', 'color'})
+                         {'state', 'count'})
 
     def test_selected_dags(self):
         resp = self.app.get(
@@ -1336,7 +1336,7 @@ class TestTaskStats(unittest.TestCase):
         self.assertEqual(resp.status_code, 200)
         stats = json.loads(resp.data.decode('utf-8'))
         self.assertEqual(set(list(stats.items())[0][1][0].keys()),
-                         {'state', 'count', 'color'})
+                         {'state', 'count'})
 
 
 if __name__ == '__main__':

Reply via email to