#NEWLINE# def test_is_web_app_ReturnsFalseIfWebAndExampleDirsMissing( self ) : #NEWLINE# #INDENT# ( _ , tmp_dir ) = make_package ( pubspec = True , dirs = [ 'doc' , 'bin' ] ) #NEWLINE# fname = os . path . join ( tmp_dir . name , 'bin' , 'foo.dart' ) #NEWLINE# open ( fname , 'w' ) . close ( ) #NEWLINE# with self . open_file ( df ) as view : #NEWLINE# #INDENT# df = DartFile ( view ) #NEWLINE# self . assertFalse ( df . is_web_app ) #NEWLINE# #UNINDENT# tmp_dir . cleanup ( )