Beispiel #1
0
 def setup(cls, host, auth):
     cls.db = Db(host)
     cls.decorators = [auth.login_required]
     return cls
 def setup(cls, host, resource_path):
     cls.db = Db(host, name="server-notifications")
     cls.apns_cert = resource_path + "apns.crt.pem"
     cls.apns_key = resource_path + "apns.key.pem"
     return cls
Beispiel #3
0
 def setup(cls, host, auth):
     cls.db = Db(host, name="server-post")
     cls.decorators = [auth.login_required]
     return cls