Skip to content

Commit

Permalink
test xstatic
Browse files Browse the repository at this point in the history
  • Loading branch information
emillon committed Jan 8, 2015
1 parent 39d1603 commit bf56f83
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_xstatic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from flask import url_for
from common import RankoTestCase


class XStaticTestCase(RankoTestCase):
def test_jquery(self):
url = url_for('xstatic', xs_package='jquery', filename='jquery.min.js')
r = self.client.get(url)
self.assert200(r)
self.assertIn('/*! jQuery v', r.data)

0 comments on commit bf56f83

Please sign in to comment.