Download:
child 120:d3d03451dfc0
parent 118:eec3351046d6
119:9d4c62d528a0
Anton Shestakov <av6@dwimlabs.net>, Wed, 10 Aug 2016 22:25:43 +0800
tests: split another long line (bundle_re)

1 файлов изменено, 2 вставок(+), 1 удалений(-) [+]
test.py file | annotate | diff | comparison | revisions
--- a/test.py Wed Aug 10 22:11:50 2016 +0800
+++ b/test.py Wed Aug 10 22:25:43 2016 +0800
@@ -17,7 +17,8 @@
def test_index(self):
response = self.c.get('/')
self.assertIn('Fruit Bar', response.data)
- self.assertRegexpMatches(response.data, 'bundles/fruitbar\.[0-9a-f]+\.js')
+ bundle_re = 'bundles/fruitbar\.[0-9a-f]+\.js'
+ self.assertRegexpMatches(response.data, bundle_re)
class ResourceTestCase(BaseTestCase):