31 Commits

Author SHA1 Message Date
thezoggy
dd0122865a bump copyright year (#3034) 2025-02-17 14:06:12 +01:00
Safihre
07b64b4abb Update tests for change in webpage mounting 2024-09-04 12:09:07 +03:00
thezoggy
9f6a9f9912 normalize and update copyright year 2024-01-02 09:42:17 +01:00
Safihre
7cbbff727f Remove (almost) all references to unused team@sabnzbd.org 2023-07-21 11:33:51 +02:00
jcfp
d651f8db34 Replace series/date/movie sorters with a generic one + season pack handling (#2461)
* replace series/date/movie sorters with a generic sorter

* fix test_eval_sort on windoze

* unbreak and de-uglify the fix

* add special setting for season pack sorting

* remove unused import

* replace series/date/movie sorters with a generic sorter

* fix test_eval_sort on windoze

* unbreak and de-uglify the fix

* add special setting for season pack sorting

* remove unused import

* correct type for sort_type entries

* standardize ui

* add visual hints for drag-n-drop

* move presets directly below sort string field

* replace hex with ascii letters to avoid random occurences of (cd|e)[0-9]+

* Some styling things

---------

Co-authored-by: Safihre <safihre@sabnzbd.org>
2023-03-06 22:13:12 +01:00
Safihre
81a6db2190 Update test for defaulting to SSL 2023-02-15 23:06:18 +01:00
Safihre
fe0c4e4f92 Update formatting with black 23 rules 2023-02-01 20:42:06 +01:00
Safihre
6492cfb430 Update copyright year to 2023 2023-01-25 22:39:49 +01:00
thezoggy
fb04b58b57 selenium syntax update (#2271)
* handle sab path with spaces

* fix py3.10 win "Unable to remove cache dir"

* remove unused imports

* update selenium find_element(s) syntax

* Fix selenium_wrapper usage

Co-authored-by: Safihre <safihre@sabnzbd.org>
2022-08-19 22:25:48 +02:00
Safihre
9c7b61070b Update copyright year to 2022 2022-01-07 09:29:32 +01:00
Safihre
dfb771a51e Add basic tests of nzbparser 2021-12-16 12:49:16 +01:00
Safihre
062ed9f7b8 decode_par2 should return a list
Yeah Typing
2021-08-01 17:10:18 +02:00
Safihre
f0bfb08c2e Update copyright year to 2021 2021-01-03 20:43:19 +01:00
Safihre
423e4e429b Add functional test for Queue Repair
Relates to #1649
2020-10-24 12:03:24 +02:00
Safihre
4c4ffb2f54 For reliability use internal webserver to test RSS feed parsing
We already have all the dependencies due to pytest-httpbin
2020-10-02 11:34:43 +02:00
Safihre
4420c36889 Speed-up selenium tests by re-using open browser window 2020-06-18 14:18:11 +02:00
Safihre
6098eb6eac Make the RSS-feed test more stable 2020-06-18 08:40:18 +02:00
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
2020-06-17 22:33:21 +02:00
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
2020-06-11 09:00:27 +02:00
Safihre
d84444ae73 Convert tests to sabnews 2020-06-09 12:35:27 +02:00
Safihre
e5c1a89492 Wrap Selenium functions with a retry-mechanism for stability
Super duper ugly. Blegh, Selenium.
2020-05-05 12:02:49 +02:00
Safihre
6d8c264e90 Update copyright year to 2020 2020-04-25 16:30:38 +02:00
Safihre
bc8f3e527a Add Python 3.8 to CI-tests 2019-11-22 15:09:30 +01:00
Safihre
33eccf3e5d Correct the CI-tests 2019-09-20 15:28:36 +02:00
Safihre
7034fb27a6 Py3: Fix HTML login
Closes #1246
2019-03-13 12:41:39 +01:00
Safihre
052762fd03 Py3: Re-organize forking/daemonizing for Python 3
And added basic tests that it can fork.
Closes #1237 and #1255
2019-03-13 11:56:40 +01:00
Safihre
27a123c688 Py3: Code-format tests-files 2019-02-26 08:20:01 +01:00
Safihre
845c608d2b Py3: Faulty login handler didn't report NNTP-code
And added tests.

Closes #1241
2019-02-25 20:46:25 +01:00
Safihre
e34a464835 Py3: Add new tests to download-test - zip, passworded 2019-02-08 16:12:50 +01:00
Safihre
b124f2a2a9 Py3: Add functional test of basic RSS-feed flow 2019-02-07 10:17:39 +01:00
Safihre
c2fcc488ac Py3: Split functional tests 2019-02-02 11:18:42 +01:00