Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_in_memory.py
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Lines | def test_table(): | ||||
all_rows = list(table.iter_all()) | all_rows = list(table.iter_all()) | ||||
assert len(all_rows) == 4 | assert len(all_rows) == 4 | ||||
for row in (row1, row2, row3, row4): | for row in (row1, row2, row3, row4): | ||||
assert (table.primary_key(row), row) in all_rows | assert (table.primary_key(row), row) in all_rows | ||||
class TestInMemoryStorage(_TestStorage): | class TestInMemoryStorage(_TestStorage): | ||||
@pytest.mark.skip( | |||||
'The "person" table of the pgsql is a legacy thing, and not ' | |||||
"supported by the cassandra backend." | |||||
) | |||||
def test_person_fullname_unicity(self): | |||||
pass | |||||
@pytest.mark.skip("content_update is not yet implemented for Cassandra") | @pytest.mark.skip("content_update is not yet implemented for Cassandra") | ||||
def test_content_update(self): | def test_content_update(self): | ||||
pass | pass |