Esempio n. 1
0
 def uri(self):
     return '%s/apps' % uri()
Esempio n. 2
0
 def test_base_uri_using_env(self):
     """Generate the base URI from env."""
     expected = "https://api.30loops.net/0.9/env_uri"
     env.account = 'env_uri'
     eq_(expected, uri())
Esempio n. 3
0
 def post_uri(self):
     return '%s/apps' % uri()
Esempio n. 4
0
 def test_base_uri(self):
     """Generate the base URI from parameters."""
     expected = "https://api.30loops.net/0.9/30loops"
     eq_(expected, uri(account='30loops'))