Mobilizon-Reshare-condividi.../tests/commands
Simone Robutti 5335ed8cc3
command tests (#97)
* filtering publications with inactive publishers

* filtering publications with inactive publishers

* WIP: Generate publications at runtime.

TODO:
- change `MobilizonEvent.compute_status`'s contract and break everything
- while we're at it we should remove `PublicationStatus.WAITING`
- test `storage.query.create_publications_for_publishers`

* cli: inspect_events: Unnest if-then-else.

* publishers: abstract: Remove `EventPublication.make`.

* fixed tests

* split query.py file

* added tests for get_unpublished_events

* added tests

* more tests

* added start test

* refactored start test

* added test start with db event

* added test recap

* added failed publication test

* added format test

Co-authored-by: Giacomo Leidi <goodoldpaul@autistici.org>
2021-11-11 16:20:50 +01:00
..
__init__.py command tests (#97) 2021-11-11 16:20:50 +01:00
conftest.py command tests (#97) 2021-11-11 16:20:50 +01:00
test_format.py command tests (#97) 2021-11-11 16:20:50 +01:00
test_recap.py command tests (#97) 2021-11-11 16:20:50 +01:00
test_start.py command tests (#97) 2021-11-11 16:20:50 +01:00