mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-11 09:10:51 +01:00
* Add publish command. * publish: Add tests. * Add list-platforms and test-configuration. * Update Guix dependencies. * Move publishing of events and publications to retry.
12 lines
263 B
Python
12 lines
263 B
Python
import pytest
|
|
|
|
from mobilizon_reshare.models.publisher import Publisher
|
|
|
|
|
|
@pytest.fixture(scope="function")
|
|
async def mock_active_publishers(request, monkeypatch):
|
|
for name in request.param:
|
|
await Publisher.create(name=name)
|
|
|
|
return request.param
|