'Verify the behavior of compressed_css, with the pipeline
both enabled and disabled.'

@skipUnless((settings.ROOT_URLCONF == 'lms.urls'), 'Test    only    valid    in    LMS')
def test_compressed_js(self):

    with self.settings(PIPELINE_ENABLED=True):
        js_include = compressed_js('base_application')
        self.assertIn(u'lms-base-application.js', js_include)
    with self.settings(PIPELINE_ENABLED=False):
        js_include = compressed_js('base_application')
        self.assertIn(u'/static/js/src/logger.js', js_include)
