#NEWLINE# def test_basic( ) : #NEWLINE# #INDENT# squadron_dir = os . path . join ( test_path , 'basic' ) #NEWLINE# result = resources . load_resources ( squadron_dir ) #NEWLINE# assert ( len ( result ) == 3 ) #NEWLINE# assert ( 'basic.txt' in result ) #NEWLINE# assert ( 'basic' in result [ 'basic.txt' ] ( ) ) #NEWLINE# assert ( 'dir/second' in result ) #NEWLINE# assert ( 'second' in result [ 'dir/second' ] ( ) ) #NEWLINE# assert ( 'deeper/dir/here.sh' in result ) #NEWLINE# assert ( 'here' in result [ 'deeper/dir/here.sh' ] ( ) )