Exemplo n.º 1
0
from webtest import TestApp
from api import application

app = TestApp(application())


def test_placeholder():
    app.post("/v1/notify/1234", status=404)
Exemplo n.º 2
0
_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())
Exemplo n.º 3
0
def main():
    wsgiref.handlers.CGIHandler().run(application())
Exemplo n.º 4
0
def main():
    wsgiref.handlers.CGIHandler().run(application())