From 5c29e70ff293716628fe43494a3c2015c16a5e66 Mon Sep 17 00:00:00 2001 From: Arthur Ouaki Date: Sat, 13 Aug 2016 12:35:48 +0200 Subject: [PATCH] Fix python2.6 error --- tests/app/tests/test_webpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/tests/test_webpack.py b/tests/app/tests/test_webpack.py index c7ec3b06..99ed787b 100644 --- a/tests/app/tests/test_webpack.py +++ b/tests/app/tests/test_webpack.py @@ -160,7 +160,7 @@ def test_missing_bundle(self): try: get_loader(DEFAULT_CONFIG).get_bundle(missing_bundle_name) except WebpackBundleLookupError as e: - self.assertIn('Cannot resolve bundle {}'.format(missing_bundle_name), str(e)) + self.assertIn('Cannot resolve bundle {0}'.format(missing_bundle_name), str(e)) def test_missing_stats_file(self): stats_file = settings.WEBPACK_LOADER[DEFAULT_CONFIG]['STATS_FILE']