'Test that a user can retrieve their repo notifications.'

def test_notifications(self):

    self.basic_login()
    cassette_name = self.cassette_name('notifications')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('sigmavirus24', 'github3.py')
        assert (repository is not None)
        notifications = list(repository.notifications())
    assert (len(notifications) > 0)
    for notification in notifications:
        assert isinstance(notification, github3.notifications.Thread)
