@patch('bedrock.firefox.views.settings.DEBUG', False)
def test_js_bundle_files_debug_false(self):
    '\n        When DEBUG is off the bundle should return a single minified filename.\n        '
    bundle = 'partners_desktop'
    filename = ('%sjs/%s-min.js?build=' % (settings.MEDIA_URL, bundle))
    bundle_file = json.loads(fx_views.get_js_bundle_files(bundle))
    self.assertEqual(len(bundle_file), 1)
    self.assertTrue(bundle_file[0].startswith(filename))
When DEBUG is off the bundle should return a single minified filename.
@patch('bedrock.firefox.views.settings.DEBUG', False)
def test_js_bundle_files_debug_false(self):
    '\n        \n        '
    bundle = 'partners_desktop'
    filename = ('%sjs/%s-min.js?build=' % (settings.MEDIA_URL, bundle))
    bundle_file = json.loads(fx_views.get_js_bundle_files(bundle))
    self.assertEqual(len(bundle_file), 1)
    self.assertTrue(bundle_file[0].startswith(filename))