def post_uri(self): return '%s/services' % app_uri()
def test_app_uri_using_env(self): """Generate the app uri.""" expected = "https://api.30loops.net/0.9/env_app/apps/env_app" env.account = env.appname = 'env_app' eq_(expected, app_uri())
def uri(self): return app_uri(appname=self.name)
def test_app_uri(self): """Generate the app uri.""" expected = "https://api.30loops.net/0.9/30loops/apps/thirtyblog" eq_(expected, app_uri(account='30loops', appname='thirtyblog'))