updated tests.py to work with python 3.x and avoid Depreciation Errors
updated tests.py to work with python 3.x and avoid Depreciation Errors

johnmee/Flask-FlatPages,SimonSapin/Flask-FlatPages,SimonSapin/Flask-FlatPages,johnmee/Flask-FlatPages