Exemple #1
0
def test_client_notifications_error(client: SyncClient):
    with pytest.raises(exceptions.LoginRequired):
        next(client.get_unseen_notifications())
Exemple #2
0
def test_client_notifications(auth_client: SyncClient):
    for notification in auth_client.get_unseen_notifications():
        assert isinstance(notification, Notification)