def test_get_asset_urls_with_staticfiles(self): apps = settings.INSTALLED_APPS + ['django.contrib.staticfiles'] with override_settings(INSTALLED_APPS=apps): test_bundle = get_asset_path('application.js') self.assertEquals(test_bundle, '/static/application-6f31.js')
def test_get_asset_urls(self): test_bundle = get_asset_path('application.js') self.assertEqual(test_bundle, '/static/application-6f31.js')