From 4698f09b113887f59a446a0296e5cd842ff95973 Mon Sep 17 00:00:00 2001 From: Owais Lone Date: Mon, 21 Sep 2015 15:04:10 +0530 Subject: [PATCH] Fixed broken tests --- setup.py | 2 +- tests/app/tests/test_webpack.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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):