You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/06/22 14:50:43 UTC

[airflow] branch v1-10-test updated: JSON escape text in test_list_dagrun_includes_conf (#9264)

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 b795a7a  JSON escape text in test_list_dagrun_includes_conf (#9264)
b795a7a is described below

commit b795a7af9259367d3a02d229f89efbd4c875f373
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Jun 12 23:39:33 2020 +0100

    JSON escape text in test_list_dagrun_includes_conf (#9264)
    
    Needed because of the change in https://github.com/apache/airflow/pull/9180
    
    (cherry-picked from ea939ec9)
---
 tests/www_rbac/test_views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/www_rbac/test_views.py b/tests/www_rbac/test_views.py
index b46c60a..c411607 100644
--- a/tests/www_rbac/test_views.py
+++ b/tests/www_rbac/test_views.py
@@ -2525,7 +2525,7 @@ class TestDagRunModelView(TestBase):
         self.assertEqual(dr.conf, {"include": "me"})
 
         resp = self.client.get('/dagrun/list', follow_redirects=True)
-        self.check_content_in_response("{'include': 'me'}", resp)
+        self.check_content_in_response("{&#39;include&#39;: &#39;me&#39;}", resp)
 
 
 class TestDecorators(TestBase):