#NEWLINE# def test_01_add_local_source( self ) : #NEWLINE# #INDENT# app = get_test_app ( argv = [ 'sources' ] ) #NEWLINE# app . setup ( ) #NEWLINE# app . run ( ) #NEWLINE# local = local . db [ 'sources' ] [ 'test' ] [ 'cache' ] #NEWLINE# app . close ( ) #NEWLINE# app = get_test_app ( argv = [ 'add-source' , 'test-local' , local , '--local' ] ) #NEWLINE# app . setup ( ) #NEWLINE# app . run ( ) #NEWLINE# app . close ( )