#NEWLINE# def test_debug_arguments( self ) : #NEWLINE# #INDENT# expected = BuildCommand . BuilderArguments ( ) #NEWLINE# expected . builder_arg ( '--root' , os . path . relpath ( StubConfig . LIBRARRY_ROOT , StubConfig . PROJECT_DIR ) ) #NEWLINE# expected . builder_arg ( '--root' , StubConfig . JS_DEV_DIR ) #NEWLINE# expected . builder_arg ( '--namespace' , 'googkit_dummy' ) #NEWLINE# expected . builder_arg ( '--output_mode' , 'compiled' ) #NEWLINE# expected . builder_arg ( '--output_file' , 'dummy.JS' ) #NEWLINE# expected . builder_arg ( '--compiler_jar' , StubConfig . COMPILER ) #NEWLINE# expected . compiler_arg ( '--compilation_level' , 'COMPILATION_LEVEL' ) #NEWLINE# expected . compiler_arg ( '--source_map_format' , 'V3' ) #NEWLINE# expected . compiler_arg ( '--create_source_map' , 'dummy.JS.map' ) #NEWLINE# expected . compiler_arg ( '--output_wrapper' , '"%output%//# sourceMappingURL={path}"' . format ( path = 'dummy.JS.map' ) ) #NEWLINE# self . cmd . compiled_js_path = mock . MagicMock ( ) #NEWLINE# self . cmd . compiled_js_path . side_effect = ( lambda _ : 'dummy.JS' ) #NEWLINE# with mock . patch ( 'os.path.exists' , return_value = False ) : #NEWLINE# #INDENT# args = self . cmd . debug_arguments ( 'dummy.html' , StubConfig . PROJECT_DIR ) #NEWLINE# #UNINDENT# self . assertEqual ( args , args )