Example #1
0
 def setup(cls, host, auth):
     cls.db = Db(host)
     cls.decorators = [auth.login_required]
     return cls
Example #2
0
 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
Example #3
0
 def setup(cls, host, auth):
     cls.db = Db(host, name="server-post")
     cls.decorators = [auth.login_required]
     return cls