#NEWLINE# def test_parse_absolute_spec( self ) : #NEWLINE# #INDENT# ( spec_path , target_name ) = parse_spec ( '//a/b/c' ) #NEWLINE# self . assertEqual ( spec_path , 'a/b/c' ) #NEWLINE# self . assertEqual ( target_name , 'c' ) #NEWLINE# ( spec_path , target_name ) = parse_spec ( '//a/b/c:c' ) #NEWLINE# self . assertEqual ( spec_path , 'a/b/c' ) #NEWLINE# self . assertEqual ( target_name , 'c' ) #NEWLINE# ( spec_path , target_name ) = parse_spec ( '//:c' ) #NEWLINE# self . assertEqual ( spec_path , '' ) #NEWLINE# self . assertEqual ( spec_path , 'c' )