from webtest import TestApp from api import application app = TestApp(application()) def test_placeholder(): app.post("/v1/notify/1234", status=404)
_globals = globals() def get(outlet_name): return _globals[outlet_name] available = ["DesktopNotifier", "Email", "Jabber", "SMS", "Webhook", "Prowl", "NotifyMyAndroid"] all = [get(o) for o in available] ########NEW FILE######## __FILENAME__ = test_placeholder from webtest import TestApp from api import application app = TestApp(application()) def test_placeholder(): app.post("/v1/notify/1234", status=404) ########NEW FILE######## __FILENAME__ = test_verify_userhash from webtest import TestApp from api import application from google.appengine.api import users from models import Account import test app = TestApp(application())
def main(): wsgiref.handlers.CGIHandler().run(application())