PageRenderTime 29ms CodeModel.GetById 21ms app.highlight 7ms RepoModel.GetById 0ms app.codeStats 0ms

/shabti/templates/rdfalchemy/+package+/tests/functional/test_appserver.py_tmpl

https://bitbucket.org/gawel/shabti
Unknown | 7 lines | 6 code | 1 blank | 0 comment | 0 complexity | 09335b75d586ec4c966e0426a62ef797 MD5 | raw file
1from {{package}}.tests import *
2
3class TestAppServer(TestController):
4    def test_index(self):
5        response = self.app.get('/')
6        # Test response...
7        assert '<span style="color:lime">RDFAlchemy</span>' in response