* add tests for adding nzbs
* restore clean_cache_dir fixture, unbreak utils tests
* include tests for partial and malformed nzbs
* test handling of prio from nzb metadata category
* update params of test_adding_nzbs_malformed
* add metadata to sabnews nzb creator
* also test with size_limit
* test prio with dupe detection
* remove leftover todo entry
* move pause and cleanup to fixture; rename functions
* verify input values for scripts
* update and parametrise test_api_queue_change_job_script
* fortify cfg with script validation, fix test
* add typing to is_valid_script function :)
* move list_scripts function to filesystem
* also move windows-specific pathext stuff
* add select by nzo_id to history api
* add select by nzo_id to queue api
* add tests for selecting by nzo_ids
* Do not run codesign step on pull requests
Co-authored-by: Safihre <safihre@sabnzbd.org>
* fix deprecation warning in sabnews regex
* enable text, xml returns from get_api_result
* add api tests
* add functional api tests
* add tavern.yaml files to test data
* explicitly add lxml to work around pip dependency issues
* prevent pytest from picking up the tavern files
* Revert "fix deprecation warning in sabnews regex"
This reverts commit 4f0b7131e7.
* address minor issues
* integrate fixtures into conftest
* black :/
* harden queue repair test
* try a workaround for extremely slow test runs on windoze
* Correct server detection in functional tests
* move scripts dir inside SAB_CACHE_DIR
* also relocate the generated script
Co-authored-by: Safihre <safihre@sabnzbd.org>