Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Sep 21, 2015
1 parent 5d2bca8 commit 4698f09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.core import setup

version = '0.2.1'
version = '0.2.2'

setup(
name = 'django-webpack-loader',
Expand Down
4 changes: 2 additions & 2 deletions tests/app/tests/test_webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 4698f09

Please sign in to comment.