Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
[#43,test][s]: start of some tests with a very basic test of the main…
Browse files Browse the repository at this point in the history
… page.
  • Loading branch information
rufuspollock committed Aug 26, 2012
1 parent e8277ba commit d6397e0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Empty file added test/__init__.py
Empty file.
15 changes: 15 additions & 0 deletions test/test_app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from flask import json, url_for

from yourtopia.web import app, db

class TestApp():
def setup(self):
self.app = app.test_client()

def teardown(self):
pass

def test_index(self):
res = self.app.get('/')
assert 'Yourtopia Italia' in res.data, res.data

0 comments on commit d6397e0

Please sign in to comment.