#NEWLINE# def main( ) : #NEWLINE# #INDENT# tests = [ test_session_id , test_collection , test_counts , test_get_all , test_entity_get_save , test_full , test_limit , test_include , test_include_traversal , test_include_plural , test_include_multi , test_find , test_target_dimensions , test_permissions , test_picard_meta , test_report_meta ] #NEWLINE# t1 = setup ( credentials ( ) , False ) #NEWLINE# print ( 'running XML tests' ) #NEWLINE# for test in t1 : #NEWLINE# #INDENT# test ( t1 ) #NEWLINE# print ( 'Passed test for {}' . format ( test . __name__ . replace ( 'test_' , '' ) ) ) #NEWLINE# #UNINDENT# print ( 'Passed all XML tests!' ) #NEWLINE# t1 = setup ( credentials ( ) , True ) #NEWLINE# print ( 'running json tests' ) #NEWLINE# for test in tests : #NEWLINE# #INDENT# test ( t1 ) #NEWLINE# print ( 'Passed test for {}' . format ( test . __name__ . replace ( 'test_' , '' ) ) ) #NEWLINE# #UNINDENT# print ( 'Passed all json tests!' )