HUE-8526 [core] Add logs to unit tests test_collect_validation

Review Request #13292 - Created Sept. 4, 2018 and updated

Ying Chen
hue
master
hue
enricoberti, jgauthier, johan, romain, weixia
commit 2a268bd580de38f3fd87b840799498c65673e0e6 (HEAD -> master)
Author: Ying Chen <yingchen@cloudera.com>
Date:   Tue Sep 4 17:13:46 2018 -0700

    HUE-8526 [core] Add logs to unit tests test_collect_validation

:100644 100644 ac12e08acb... 00caa1817a... M    desktop/core/src/desktop/tests.py
Maually
  • 3
  • 0
  • 0
  • 0
  • 3
Description From Last Updated
if error_list: Romain Rigaux
Move to top as usual? Romain Rigaux
%s", error_list... --> %s" % error_list[0]['message'] or %(message)s", error_list[0] Romain Rigaux
Review request changed

Testing Done:

  +

Maually

  1. 
      
  2. desktop/core/src/desktop/tests.py (Diff revision 1)
     
     

    if error_list:

  3. desktop/core/src/desktop/tests.py (Diff revision 1)
     
     

    Move to top as usual?

  4. desktop/core/src/desktop/tests.py (Diff revision 1)
     
     

    %s", error_list...

    -->

    %s" % error_list[0]['message']

    or

    %(message)s", error_list[0]

  5. 
      
Loading...