#NEWLINE# def suite( ) : #NEWLINE# #INDENT# suite = unittest . TestSuite ( ) #NEWLINE# with open ( ( '%s/testdata.json' % mydir ) ) as testdata : #NEWLINE# #INDENT# testdata = json . load ( testdata ) #NEWLINE# #UNINDENT# tests = suite [ 'tests' ] #NEWLINE# del testdata [ 'tests' ] #NEWLINE# for test in tests : #NEWLINE# #INDENT# suite . addTest ( EdgeGridTest ( testdata , test ) ) #NEWLINE# #UNINDENT# suite . addTest ( EGSimpleTest ( 'test_nonce' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_timestamp' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_defaults' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_edgerc_default' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_edgerc_broken' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_edgerc_unparseable' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_edgerc_headers' ) ) #NEWLINE# suite . addTest ( EGSimpleTest ( 'test_edgerc_from_object' ) ) #NEWLINE# return suite