#NEWLINE# def test_default_fetch_url_no_base_url_set( self ) : #NEWLINE# #INDENT# self . flags ( torrent_base_url = None , group = 'xenserver' ) #NEWLINE# exc = self . assertRaises ( RuntimeError , self . store . _lookup_torrent_url_fn ) #NEWLINE# self . assertEqual ( 'Cannot create default bittorrent URL without xenserver.torrent_base_url configuration option set.' , six . text_type ( exc ) )