Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
espern committed Jun 24, 2013
1 parent 3d7171a commit ec37968
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/test.py
Expand Up @@ -2,20 +2,6 @@
# PYTHONPATH containing the path to web2py

from gluon.contrib.webclient import WebClient
import dommartin25

client = WebClient('http://www.dommartin25.fr')

#Home page
client.get('')
assert('Welcome on' in client.text)

#test each page
db = DAL('mysql://user:pass@vhost/dbName')

for tablename in db.tables:
print tablename


# pages = db().select(db.page.ALL)
# for page in pages:
Expand Down

0 comments on commit ec37968

Please sign in to comment.