#NEWLINE# @ override_settings ( WAGTAILFRONTENDCACHE_LOCATION = 'http://localhost:8000' ) #NEWLINE# def test_backwards_compatibility( self ) : #NEWLINE# #INDENT# backends = get_backends ( ) #NEWLINE# self . assertEqual ( set ( backends . keys ( ) ) , set ( [ 'default' ] ) ) #NEWLINE# self . assertIsInstance ( backends [ 'default' ] , HTTPBackend ) #NEWLINE# self . assertEqual ( backends [ 'default' ] . cache_scheme , 'http' ) #NEWLINE# self . assertEqual ( backends [ 'default' ] . cache_netloc , 'localhost:8000' )