ytdl-sub/tests/unit/config
Jesse Bannon 5e335b195c
[FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956)
Adds the ability to create map and list-based override variables. 

For example, you can now create lists like this:
```
overrides:
  urls:
    - "https://...1"
    - "https://...2"
```
which is equivalent to:
```
overrides:
  urls: >-
    {
      [
        "https://...1",
        "https://...2",
      ]
    }
```

Likewise, maps can now look like:
```
overrides:
  music_video_category:
    concerts:
      - "https://...1"
      - "https://...2"
    interviews:
      - "https://...3"
```
which is equivalent to:
```
overrides:
  music_video_category: >-
    {
      "concerts": [
        "https://...1",
        "https://...2"
      ],
      "interviews": [
        "https://...3"
      ]
    }
```
2024-06-02 20:02:48 -07:00
..
__init__.py Validate all preset StringFormatValidators on init (#79) 2022-06-28 09:34:30 -07:00
conftest.py [BUGFIX] Have __preset__ override nested preset keys (#784) 2023-10-25 11:35:52 -07:00
test_config_file.py [FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956) 2024-06-02 20:02:48 -07:00
test_preset.py [BUGFIX] Fix usage of ~ in paths (#981) 2024-05-10 19:57:48 -07:00
test_subscription.py [DEV] Bump black from 22.3.0 to 24.4.2 (#973) 2024-04-27 15:46:47 -07:00