'Show that user can successful set subscription'

def test_set(self):

    self.token_login()
    cassette_name = self.cassette_name('set')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        threads = list(repository.notifications(all='true'))
        assert (len(threads) > 0)
        subscription = threads[0].subscription()
        assert (subscription.set(True, False) is None)
        assert isinstance(subscription, github3.notifications.Subscription)
