Skip to content

Commit 7e43fe1

Browse files
committed
Fixed tests
1 parent 48f9e6e commit 7e43fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/app/tests/test_webpack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from django.views.generic.base import TemplateView
1313

1414
from webpack_loader.utils import get_assets, get_config, get_bundle, WebpackException
15-
from webpack_loader.errors import BAD_CONFIG_ERROR
1615

1716

1817
BUNDLE_PATH = os.path.join(settings.BASE_DIR, 'assets/bundles/')
@@ -37,6 +36,7 @@ def compile_bundles(self, config, wait=None):
3736
def test_config_check(self):
3837
from django.core.checks import Error
3938
from webpack_loader.apps import webpack_cfg_check
39+
from webpack_loader.errors import BAD_CONFIG_ERROR
4040

4141
with self.settings(WEBPACK_LOADER={
4242
'BUNDLE_DIR_NAME': 'bundles/',

0 commit comments

Comments
 (0)