ytdl-sub/tests/unit/utils
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 Yaml error handling (#45) 2022-05-27 22:14:50 -07:00
test_chapters.py [BACKEND] Add double parenthesis test for chapter extraction (#390) 2022-12-09 07:45:51 -08:00
test_fixtures.py [FEATURE] Plex sanitized title and uid. Add into prebuilt preset (#449) 2023-02-20 10:19:44 -08:00
test_logger.py [FEATURE] --match flag to only run subset of subscriptions (#881) 2024-01-08 13:37:07 -08:00
test_script_utils.py [FEATURE] Allow YAML maps and lists in overrides, convert to script format (#956) 2024-06-02 20:02:48 -07:00
test_yaml.py [BACKEND] Include yaml exception in error (#678) 2023-07-29 23:05:34 -07:00