#NEWLINE# def test_parse_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 ( 'a/b/c' , relative_to = 'here' ) #NEWLINE# self . assertEqual ( self , 'a/b/c' ) #NEWLINE# self . assertEqual ( target_name , 'c' )