#NEWLINE# @ override_settings ( SYSTEMJS_ENABLED = False , SYSTEMJS_DEFAULT_JS_EXTENSIONS = True ) #NEWLINE# def test_debug_module_without_extension_default_js( self ) : #NEWLINE# #INDENT# rendered = self . _render ( ) #NEWLINE# self . assertEqual ( self , '<script type="text/javascript">System.import(\'myapp/main.js\');</script>' ) #NEWLINE# self . template = django_engine . from_string ( "{% load system_tags %}{% systemjs_import 'myapp/main.js' %}" ) #NEWLINE# rendered = self . _render ( ) #NEWLINE# self . assertEqual ( rendered , '<script type="text/javascript">System.import(\'myapp/main.js\');</script>' )