diff --git a/setup.py b/setup.py index 293c00f9..4c229d8f 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup -version = '0.2.1' +version = '0.2.2' setup( name = 'django-webpack-loader', diff --git a/tests/app/tests/test_webpack.py b/tests/app/tests/test_webpack.py index 67963fda..264d4817 100644 --- a/tests/app/tests/test_webpack.py +++ b/tests/app/tests/test_webpack.py @@ -11,7 +11,7 @@ from django_jinja.builtins import DEFAULT_EXTENSIONS from django.views.generic.base import TemplateView -from webpack_loader.utils import get_assets, get_config, get_bundle, WebpackException +from webpack_loader.utils import get_assets, get_config, get_bundle, WebpackError BUNDLE_PATH = os.path.join(settings.BASE_DIR, 'assets/bundles/') @@ -152,7 +152,7 @@ def test_reporting_errors(self): self.compile_bundles('webpack.config.error.js') try: get_bundle('main', get_config(DEFAULT_CONFIG)) - except WebpackException as e: + except WebpackError as e: self.assertIn("Cannot resolve module 'the-library-that-did-not-exist'", str(e)) def test_missing_stats_file(self):