Skip to content

Commit f87e5b0

Browse files
committed
Fixed testcase
1 parent a3c5bc9 commit f87e5b0

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
@@ -99,7 +99,7 @@ def test_reporting_errors(self):
9999
try:
100100
get_bundle('main')
101101
except WebpackException as e:
102-
self.assertIn("Cannot resolve module 'the-library-that-did-not-exist'", e.message)
102+
self.assertIn("Cannot resolve module 'the-library-that-did-not-exist'", str(e))
103103

104104
def test_missing_stats_file(self):
105105
os.remove(settings.WEBPACK_LOADER['STATS_FILE'])

0 commit comments

Comments
 (0)