'Test the ability to retreive a repository\'s subscription.'

def test_subscription(self):

    self.token_login()
    cassette_name = self.cassette_name('subscription')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        subscription = repository.subscription()
    assert isinstance(subscription, github3.notifications.Subscription)
