'Test the ability to subscribe to a repository\'s notifications.'

def test_subscribe(self):

    self.basic_login()
    cassette_name = self.cassette_name('subscribe')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('vcr', 'vcr')
        assert (repository is not None)
        subscription = repository.subscribe()
        assert (subscription.subscribed is True)
