Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_api_client.py
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
@pytest.mark.db | @pytest.mark.db | ||||
class TestRemoteStorage(CommonTestStorage, RemoteStorageFixture): | class TestRemoteStorage(CommonTestStorage, RemoteStorageFixture): | ||||
@pytest.mark.skip('refresh_stat_counters not available in the remote api.') | @pytest.mark.skip('refresh_stat_counters not available in the remote api.') | ||||
def test_stat_counters(self): | def test_stat_counters(self): | ||||
pass | pass | ||||
@pytest.mark.skip('The remote API does not expose _person_add.') | |||||
def test_person_get(self): | |||||
pass | |||||
vlorentz: You could use `revision_add` to add persons. | |||||
olasdUnsubmitted Not Done Inline ActionsOr we could just expose person_add in the remote API, as apparently the person stuff is part of our external interface now. olasd: Or we could just expose person_add in the remote API, as apparently the person stuff is part of… | |||||
@pytest.mark.db | @pytest.mark.db | ||||
@pytest.mark.property_based | @pytest.mark.property_based | ||||
class PropTestRemoteStorage(CommonPropTestStorage, RemoteStorageFixture): | class PropTestRemoteStorage(CommonPropTestStorage, RemoteStorageFixture): | ||||
pass | pass |
You could use revision_add to add persons.