Download:
child 72:b7850abdf559
parent 70:debfda9e90b2
71:f1801d827da2
Anton Shestakov <av6@dwimlabs.net>, Wed, 02 Mar 2016 21:24:23 +0800
test: find bundle file in test_index

1 файлов изменено, 1 вставок(+), 0 удалений(-) [+]
test.py file | annotate | diff | comparison | revisions
--- a/test.py Wed Mar 02 21:23:03 2016 +0800
+++ b/test.py Wed Mar 02 21:24:23 2016 +0800
@@ -19,6 +19,7 @@
def test_index(self):
response = self.c.get('/')
assert 'Fruit Bar' in response.data
+ self.assertRegexpMatches(response.data, 'bundles/fruitbar\.[0-9a-f]+\.js')
class ResourceTestCase(BaseTestCase):