Mobilizon-Reshare-condividi.../tests
tinoilcotechino 394d84b0a5
settings.toml: Move secrets to dedicated file. (#60)
Configuration files are checked in this order:

      1. CLI argument
      2. `$MOBILIZION_RESHARE_SETTINGS_FILE` environment variable;
      3. User configuration directory. On Linux that's `$XDG_CONFIG_HOME/mobilizon_reshare/<mobilizon-reshare-version>`;
      4. System configuration directory. On Linux that's the first element in `$XDG_CONFIG_DIRS` + `/mobilizon_reshare/<mobilizon-reshare-version>`.
      5. The default configuration distributed with the package.

The first available configuration file will be loaded. Secrets can be set either
via environment variables (such as `export MOBILIZON_RESHARE_PUBLISHER_TELEGRAM_TOKEN="my-telegram-token"` )
or by setting the `$SECRETS_FOR_DYNACONF` environment variable to a `secrets.(toml|yaml|ini|json)` file.

Co-authored-by: Giacomo Leidi <goodoldpaul@autistici.org>
2021-09-07 23:39:58 +02:00
..
config settings.toml: Move secrets to dedicated file. (#60) 2021-09-07 23:39:58 +02:00
event Fix PublisherCoordinatorReport generation. (#54) 2021-08-28 13:17:39 +02:00
formatting rename everything (#50) 2021-08-16 10:49:52 +02:00
mobilizon Make `Event.mobilizon_id` a proper `UUIDField`. (#59) 2021-08-29 14:51:52 +02:00
models Make `Event.mobilizon_id` a proper `UUIDField`. (#59) 2021-08-29 14:51:52 +02:00
publishers Make `Event.mobilizon_id` a proper `UUIDField`. (#59) 2021-08-29 14:51:52 +02:00
resources settings.toml: Move secrets to dedicated file. (#60) 2021-09-07 23:39:58 +02:00
storage Make `Event.mobilizon_id` a proper `UUIDField`. (#59) 2021-08-29 14:51:52 +02:00
__init__.py added tests for strategy 2021-05-05 14:29:13 +02:00
conftest.py settings.toml: Move secrets to dedicated file. (#60) 2021-09-07 23:39:58 +02:00