93 Commits

Author SHA1 Message Date
Trenton H
0644e8ae21 Ensure dates from emails are made timezone aware if not already 2023-03-07 10:01:40 -08:00
Jonas Winkler
ed6ec7fb38 cleanup test code 2023-02-24 12:49:54 +01:00
Jonas Winkler
135f2c9a56 fix the test cases 2023-02-24 00:03:28 +01:00
Jonas Winkler
e7279a7947 changes 2023-02-23 22:02:38 +01:00
Trenton Holmes
6644ccc33f Changes testing to use more declarative status code names from DRF 2023-02-20 10:25:21 -08:00
Trenton Holmes
acfa7d633d Creates a mix-in for asserting file system states 2023-02-20 10:25:21 -08:00
shamoon
c35ac07b32 Merge branch 'dev' 2023-02-16 20:07:50 -08:00
Trenton Holmes
7fbcc4f97e Fixes up some minor warnings from test code 2023-02-11 14:35:16 -08:00
Trenton H
14af7f3aa1 Updates to the expected PDF minus an extra whitespace 2023-02-05 20:17:22 -08:00
Trenton H
18e43e0d60 Configure ImageMagick on the runner to allow more tests to run by default 2023-01-31 14:37:56 -08:00
Trenton H
e17cce2b77 Fixes test parameters 2023-01-27 11:05:23 -08:00
Clemens Rieder
6f1c532ba4 Remove try/except + test
Changes in d064ff5 made try/except unnecessary and the subsequent test failed.
2023-01-16 13:49:54 -08:00
Clemens Rieder
659883cb6f add basic tests and fix error 2023-01-16 13:49:54 -08:00
Trenton H
6f23cfe78c Resolves minor flake8 warnings in the test suite 2023-01-05 08:39:48 -08:00
Trenton Holmes
46b637b08e Fixes args handling 2022-12-06 13:30:01 -08:00
Trenton Holmes
1257700ba7 Adds the same backoff/retry logic to the other live tests 2022-12-06 13:30:01 -08:00
shamoon
0c85bdb1b4 Merge pull request #2000 from paperless-ngx/feature-frontend-paperless-mail
Feature: frontend paperless mail
2022-12-04 16:47:58 -08:00
Michael Shamoon
2148c4482b Re-org where some of the new classes are found 2022-12-03 09:31:39 -08:00
phail
1dd88cd795 add test comments 2022-11-20 23:26:20 +01:00
phail
09ac34fc24 add test comments 2022-11-20 22:49:42 +01:00
phail
daf5a72e82 change order of elements in parsed Texts 2022-11-20 20:24:36 +01:00
phail
a2cd70bd2c minor test improvements 2022-11-20 20:12:41 +01:00
phail
d50e9e589a fix filenames 2022-11-20 19:53:57 +01:00
Trenton Holmes
f02a4fa7cf Use Django templating engine 2022-11-20 09:13:16 -08:00
phail
8b5008bee4 use imagehash instead of bitwise hashing 2022-11-20 15:44:43 +01:00
phail
1aba154fb7 optimize regex 2022-11-20 12:48:03 +01:00
phail
3779adb30e use html.escape instead of some self build functions 2022-11-20 12:36:49 +01:00
phail
ee4309a8bd remove log mocking, replace pytest raises, use humanfriendly 2022-11-20 12:06:35 +01:00
phail
a675952a93 fix live tests 2022-11-13 22:33:26 +01:00
phail
dbc9263fb3 add conditions to unittests 2022-11-12 15:48:30 +01:00
phail
8c2fa52315 put parser into setup
make test using convert optional
Gotenberg live testing
2022-11-03 00:58:36 +01:00
phail
16257f5288 fix string 2022-10-27 23:53:47 +02:00
phail
4caad88790 replace thumbnail creation with mock 2022-10-27 23:41:29 +02:00
phail
6d92b33d13 Downgrade pdf validation to text only 2022-10-27 23:11:41 +02:00
phail
739e291b2c improve test coverage a little 2022-10-27 00:27:15 +02:00
phail
b151cb7293 update variable names 2022-10-23 21:39:15 +02:00
phail
20a0ba6e57 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-10-23 20:37:22 +02:00
phail
9d6b725fa1 add tests for mail_to_html and generate_pdf_from_mail 2022-10-23 17:18:10 +02:00
phail
6854896708 test for broken eml, add test_generate_pdf 2022-10-22 02:25:23 +02:00
phail
20e84558d6 add unittest for external images 2022-10-22 00:44:32 +02:00
phail
f1e0ab314d add unittest for generate_pdf_from_html 2022-10-19 23:19:33 +02:00
phail
3d58129666 add unittest for transform_inline_html 2022-10-18 23:48:07 +02:00
phail
cd8d4ce8ab add unittest for parse 2022-10-15 15:41:43 +02:00
phail
cef1a4f8b9 Add unitest for tika_parse() 2022-10-15 13:13:29 +02:00
phail
76dec120d1 add 2 more tests 2022-10-14 15:43:43 +02:00
phail
dec6e6c0b8 add unittest for get_thumbnail 2022-10-13 01:03:09 +02:00
shamoon
3b1f5668f5 Merge pull request #1648 from paperless-ngx/feature-use-celery
Feature: Transition to celery for background tasks
2022-10-10 00:07:55 -07:00
Trenton H
406dae1fca Enable some testing against a real email server to hopefully catch things earlier 2022-10-07 18:28:11 -07:00
Trenton H
6c269391d5 Fixes handling of gmail label extension to IMAP 2022-10-07 18:28:11 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00