#NEWLINE# def test_unknown_protocol( self ) : #NEWLINE# #INDENT# ' unknown protocol ' #NEWLINE# rm = ResourceManager ( ) #NEWLINE# self . assertRaises ( ValueError , self . file , 'bogus://foo/bar/baz' ) #NEWLINE# return