Mobilizon-Reshare-condividi.../tests/resources/config/config_with_invalid_telegram.toml
Simone Robutti 8a27de8981
add tests (#44)
* fixed test_window_no_event

* added strategy tests

* removed unused code

* added config tests

* added more config tests

* refactored tests

* updated pytest
2021-07-18 18:23:30 +02:00

47 lines
725 B
TOML

[default.selection]
strategy = "next_event"
[default.source.mobilizon]
url="https://mobilizon.it/api"
group="tech_workers_coalition_italia"
[default.publishing.window]
begin=12
end=24
[default.selection.strategy_options]
break_between_events_in_minutes =1
[default.publisher.telegram]
active=true
chat_id="xxx"
token="xxx"
username="xxx"
[default.publisher.facebook]
active=false
[default.publisher.zulip]
active=false
[default.publisher.twitter]
active=false
[default.publisher.mastodon]
active=false
[default.notifier.telegram]
active=true
chat_id="xxx"
misspelled_token="xxx"
username="xxx"
[default.notifier.zulip]
active=false
[default.notifier.twitter]
active=false
[default.notifier.mastodon]
active=false