Skip to content

Commit 4698f09

Browse files
committed
Fixed broken tests
1 parent 5d2bca8 commit 4698f09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from distutils.core import setup
22

3-
version = '0.2.1'
3+
version = '0.2.2'
44

55
setup(
66
name = 'django-webpack-loader',

tests/app/tests/test_webpack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from django_jinja.builtins import DEFAULT_EXTENSIONS
1212
from django.views.generic.base import TemplateView
1313

14-
from webpack_loader.utils import get_assets, get_config, get_bundle, WebpackException
14+
from webpack_loader.utils import get_assets, get_config, get_bundle, WebpackError
1515

1616

1717
BUNDLE_PATH = os.path.join(settings.BASE_DIR, 'assets/bundles/')
@@ -152,7 +152,7 @@ def test_reporting_errors(self):
152152
self.compile_bundles('webpack.config.error.js')
153153
try:
154154
get_bundle('main', get_config(DEFAULT_CONFIG))
155-
except WebpackException as e:
155+
except WebpackError as e:
156156
self.assertIn("Cannot resolve module 'the-library-that-did-not-exist'", str(e))
157157

158158
def test_missing_stats_file(self):

0 commit comments

Comments
 (0)