Beispiel #1
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.insert_key = 'insert_key'
        self.query_key = 'query_key'
        self.service = newrelic.Insights('account_id', self.query_key,
                                         self.insert_key)
Beispiel #2
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.insert_key = 'insert_key'
        self.query_key = 'query_key'
        self.service = newrelic.Insights('account_id', self.query_key,
                                        self.insert_key)
Beispiel #3
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = intercom.Intercom('my-app-id', 'my-api-key')
Beispiel #4
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = spotify.Spotify()
Beispiel #5
0
 def setUp(self):
     self.executor = test_executor.use()
     self.executor.set_response(
         b'<?xml version="1.0" encoding="UTF-8"?><root/>', 200, {})
     self.service = recurly.Recurly('my-token')
Beispiel #6
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = flurry.Flurry('my-api-access-code')
Beispiel #7
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = uservoice.UserVoice('domain', 'key', 'secret', 'token',
                                           'token_secret')
Beispiel #8
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b"{}", 200, {})

        self.service = zendesk.Zendesk("mydomain", "user", "pass")
Beispiel #9
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b"{}", 200, {})

        self.service = desk.Desk("domain", "key", "secret", "token", "token_secret")
Beispiel #10
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = desk.Desk('domain', 'key', 'secret',
                                           'token', 'token_secret')
Beispiel #11
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = Pardot(api_key_or_email='api_key', user_key='user_key')
Beispiel #12
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = trello.Trello('my-key', 'my-token')
Beispiel #13
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = instagram.Instagram(access_token='my-access-token')
Beispiel #14
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = segmentio.SegmentIO('my-api-secret')
Beispiel #15
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = pingdom.Pingdom('username', 'password', 'key')
Beispiel #16
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = pipedrive.Pipedrive('my-api-token')
Beispiel #17
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = stripe.Stripe('my-api-key')
Beispiel #18
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = youtube.YouTube('my-access-token')
Beispiel #19
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b"{}", 200, {})

        self.service = googlecalendar.GoogleCalendar(access_token="my-access-token")
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = zendesk.Zendesk('mydomain', 'user', 'pass')
Beispiel #21
0
 def setUp(self):
     self.executor = test_executor.use()
     self.executor.set_response(b'{}', 200, {})
     self.service = mixrank.MixRank('api-key')
Beispiel #22
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = spotify.Spotify()
Beispiel #23
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'1', 200, {})

        self.service = mixpanel.Mixpanel('my-token', 'api-key', 'api-secret')
Beispiel #24
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'1', 200, {})

        self.service = mixpanel.Mixpanel('my-token', 'api-key', 'api-secret')
Beispiel #25
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = fullcontact.Fullcontact('my-api-key')
Beispiel #26
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = googleoauth2.GoogleOAuth2('id', 'secret')
Beispiel #27
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = stripe.Stripe('my-api-key')
Beispiel #28
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = ducksboard.Ducksboard('apikey', 'pass')
Beispiel #29
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = twilio.Twilio('my-sid', 'my-token')
        self.account = self.service.account('foo')
Beispiel #30
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = bitly.Bitly('my-access-token')
Beispiel #31
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = youtube.YouTube('my-access-token')
Beispiel #32
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = fullcontact.Fullcontact('my-api-key')
Beispiel #33
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = flurry.Flurry('my-api-access-code')
Beispiel #34
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = mailchimp.Mailchimp('apikey-us2')
Beispiel #35
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = googleanalytics.GoogleAnalytics('access_token')
Beispiel #36
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = googleoauth2.GoogleOAuth2('id', 'secret')
Beispiel #37
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = trello.Trello('my-key','my-token')
Beispiel #38
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = compete.Compete('my-api-key')
Beispiel #39
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = basecamp.Basecamp('my-account-id', 'my-access-token')
Beispiel #40
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = Pardot(api_key_or_email='api_key',
                              user_key='user_key')
Beispiel #41
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = mailchimp.Mailchimp('apikey-us2')
Beispiel #42
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = compete.Compete('my-api-key')
Beispiel #43
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = newrelic.NewRelic('my_api_key')
Beispiel #44
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = googleanalytics.GoogleAnalytics('access_token')
Beispiel #45
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = intercom.Intercom('my-app-id', 'my-api-key')
Beispiel #46
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = ducksboard.Ducksboard('apikey', 'pass')
Beispiel #47
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = pipedrive.Pipedrive('my-api-token')
Beispiel #48
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.api_key = 'test_key'
        self.service = cartodb.CartoDB('mydomain', self.api_key)
Beispiel #49
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = segmentio.SegmentIO('my-api-secret')
Beispiel #50
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = newrelic.NewRelic('my_api_key')
Beispiel #51
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = zendesk.Zendesk('mydomain', 'user', 'pass')
Beispiel #52
0
 def setUp(self):
     self.executor = test_executor.use()
     self.executor.set_response(b'{}', 200, {})
     self.service = mixrank.MixRank('api-key')
Beispiel #53
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b"{}", 200, {})

        self.service = instagram.Instagram(access_token="my-access-token")
Beispiel #54
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = gitlab.Gitlab("https://gitlab.com", 'my-token')
Beispiel #55
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = github.GitHub('my-token')
Beispiel #56
0
 def setUp(self):
     self.executor = test_executor.use()
     self.executor.set_response(
         b'<?xml version="1.0" encoding="UTF-8"?><root/>', 200, {})
     self.service = recurly.Recurly('my-token')
Beispiel #57
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.api_key = 'test_key'
        self.service = cartodb.CartoDB('mydomain', self.api_key)
Beispiel #58
0
    def setUp(self):
        self.executor = test_executor.use()
        self.executor.set_response(b'{}', 200, {})

        self.service = bitly.Bitly('my-access-token')