コード例 #1
0
ファイル: test_placeholder.py プロジェクト: uskr/notify-io
from webtest import TestApp
from api import application

app = TestApp(application())


def test_placeholder():
    app.post("/v1/notify/1234", status=404)
コード例 #2
0
ファイル: allPythonContent.py プロジェクト: Mondego/pyreco
_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())
コード例 #3
0
ファイル: allPythonContent.py プロジェクト: Mondego/pyreco
def main():
    wsgiref.handlers.CGIHandler().run(application())
コード例 #4
0
def main():
    wsgiref.handlers.CGIHandler().run(application())