jcfp
68eded2c0c
remove unused imports ( #1966 )
4 years ago
Safihre
fc1aa2db83
Mark test_download_unicode_made_on_windows as xfail on all platforms
4 years ago
Safihre
ee08c486bc
Allow newer cheroot-versions
4 years ago
Safihre
c772df9d65
Add sleep to gc_stats test to stabilize the overal tests
4 years ago
Safihre
f0bfb08c2e
Update copyright year to 2021
4 years ago
jcfp
5ea6a31bc2
Api tests ( #1668 )
* 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>
5 years ago
Safihre
259584b24f
Less strict validation in test_functional_downloads due to #1509
5 years ago
Safihre
423e4e429b
Add functional test for Queue Repair
Relates to #1649
5 years ago
Safihre
92541fec23
Allow failure of download_unicode_made_on_windows test due to bug #1633
5 years ago
Safihre
d13893d1c7
Direct Unpack parsing was broken
Closes #1630
5 years ago
Safihre
d0a7ff00fc
Reference the right GitHub-issue
5 years ago
Safihre
53069492b1
Add tests to verify no objects are left in memory after downloading
5 years ago
Safihre
f0e2e783a8
Force UnRar and Multipar to output UTF8
5 years ago
Safihre
433dcab02b
Update code-style
5 years ago
Safihre
c6bc7d93f4
Redesigned job availability-check
Closes #1505
More efficient and works on single-file-jobs
5 years ago
Safihre
4420c36889
Speed-up selenium tests by re-using open browser window
5 years ago
Safihre
50b7c8a00c
Allow failure for unstable unicode-rar download
5 years ago
Safihre
48d18b3866
Replace test files with smaller files
Closes #1511
5 years ago
Safihre
92efc9ed8a
Improve automated download-testing
- Catch all Selenium exceptions while waiting for the download to complete
- Correctly set autodisconnect=0
- Make job-name even more unique
- Wait for the RSS-added job to finish fetching
- Move sabnzbd.basic.ini to data folder
- Use new SAB_DATA_DIR
- Optimized imports
5 years ago
Safihre
7e5a43e95c
Revert "Code-formatting: optimize imports"
This reverts commit db5ff8c7e1
.
Does not work on Python 3.4/3.6. Not really sure why, but don't want to investigate right now.
5 years ago
Safihre
db5ff8c7e1
Code-formatting: optimize imports
5 years ago
Safihre
18a96d3286
Make super-sure we have a random job-name in functional tests
Yes, it turned out the job names were not random enough!
https://travis-ci.com/github/sabnzbd/sabnzbd/jobs/348060280
Shows that there are 2 jobs named "testfile_973"
5 years ago
Safihre
3631138978
Small delay is needed when adding RSS job
It seems sometimes it doesn't right away detect the job in the queue because it is fetching the URL: https://travis-ci.com/github/sabnzbd/sabnzbd/jobs/347249629
5 years ago
Safihre
93c62c6827
The tests are just.. flaky
Marking them like this will cause them to be retried once if they fail. This also happens from time to time with the happyeyeballs test.
5 years ago
Safihre
8bb6ba2285
Windows: test only on recent Python version
5 years ago
Safihre
39e2254cd5
Add new sets to functional tests
5 years ago
Safihre
1f412fc1c6
Use new sabyenc3.encode function for massive speedup
5 years ago
Safihre
1150f1af71
Test higher number of connections
5 years ago
Safihre
d0510509a4
Compatibility of sabnews with Python 3.5
5 years ago
Safihre
d84444ae73
Convert tests to sabnews
5 years ago
Safihre
e5c1a89492
Wrap Selenium functions with a retry-mechanism for stability
Super duper ugly. Blegh, Selenium.
5 years ago
Safihre
6d8c264e90
Update copyright year to 2020
5 years ago
Safihre
bc8f3e527a
Add Python 3.8 to CI-tests
6 years ago
Safihre
7c3c17ff85
Py3: Add test for SFV-check functions
6 years ago
Safihre
27a123c688
Py3: Code-format tests-files
6 years ago
Safihre
e34a464835
Py3: Add new tests to download-test - zip, passworded
6 years ago
Safihre
baa9d3634f
Py3: Reshuffle functional download-tests
To be able to add more later
6 years ago
Safihre
0ae5b11773
Py3: Introduce proper unknown-encoding handling
6 years ago
Safihre
c2fcc488ac
Py3: Split functional tests
6 years ago