Commit graph

90 commits

Author SHA1 Message Date
Joakim Soderlund
76ec61c44f Fix type error in requests mocking fixture 2020-10-31 15:33:02 +01:00
Joakim Soderlund
965d1e43a4 Skip test requiring Internet connectivity 2020-05-30 17:30:11 +02:00
Joakim Soderlund
d05b6fd070 Add build task 2020-03-29 18:06:03 +02:00
Joakim Soderlund
2c2c5ef766 Remove fixture for dummy fetcher 2020-03-29 16:22:20 +02:00
Joakim Soderlund
00afaedb60 Fix blacklist not working for older archives 2020-03-28 20:42:08 +01:00
Joakim Soderlund
feb0cbacaf Share dummy fetcher between task tests 2020-03-21 19:48:34 +01:00
Joakim Soderlund
03452e1221 Fix invalid author ID in alpha beta converter 2019-08-30 21:58:28 +02:00
Joakim Soderlund
0d1ae173a0 Add Fimfarchive writer 2019-06-23 14:58:01 +02:00
Joakim Soderlund
9ca1872343 Add flavor stamper 2019-06-16 13:52:19 +02:00
Joakim Soderlund
c4ba2e8983 Add path stamper 2019-06-15 22:01:14 +02:00
Joakim Soderlund
1a34c8112b Add data format mapper 2019-06-08 17:21:04 +02:00
Joakim Soderlund
1e91a64a36 Add blacklist function to utilities 2019-06-05 18:14:33 +02:00
Joakim Soderlund
7a9191cf36 Improve performance of Fimfarchive fetcher tests 2019-03-24 14:04:53 +01:00
Joakim Soderlund
2f173ecd29 Add FPUB to EPUB converter 2019-03-20 17:34:40 +01:00
Joakim Soderlund
df4c820ca1 Add local timezone to UTC converter 2019-03-20 14:08:41 +01:00
Joakim Soderlund
314923a4de Add archive sample for Fimfarchive fetcher tests 2019-03-17 16:20:24 +01:00
Joakim Soderlund
e5b321136b Allow string path arguments in directory fetcher 2019-03-13 11:51:35 +01:00
Joakim Soderlund
eca26dd2c3 Add JSON to FPUB converter 2019-03-10 15:16:50 +01:00
Joakim Soderlund
82dd078020 Use pathlib in mappers and writers 2019-03-09 21:50:58 +01:00
Joakim Soderlund
5160a9edae Compare enumeration instances by identity
See https://docs.python.org/3.7/library/enum.html#comparisons
2019-03-06 12:06:31 +01:00
Joakim Soderlund
e09d67d291 Fix invalid status in alpha beta converter
Thanks to Midnight Sapphire for finding this bug.
2019-02-22 23:35:37 +01:00
Joakim Soderlund
6dd650f302 Cache len in directory fetcher 2018-12-01 13:46:38 +01:00
Joakim Soderlund
e80a3d1c2c Add mapper for story slug 2018-10-13 19:59:50 +02:00
Joakim Soderlund
b7c7fcc780 Add mocked test data for Fimfiction APIv1 2018-09-08 16:57:41 +02:00
Joakim Soderlund
d9a0a78c79 Add redactor to Fimfiction APIv2 fetcher tests 2018-09-05 19:40:20 +02:00
Joakim Soderlund
3139ff9d7c Add optional post processing to response recorder 2018-09-05 19:32:37 +02:00
Joakim Soderlund
aa6cafa305 Add walker for JSON objects 2018-09-05 18:15:57 +02:00
Joakim Soderlund
8e8dac864a Add mocked test data for Fimfiction APIv2 2018-09-05 16:44:11 +02:00
Joakim Soderlund
10d906bf7c Fix test response recorder dropping self reference 2018-08-22 15:20:41 +02:00
Joakim Soderlund
65f4919a36 Add fixture for mocking or saving HTTP responses 2018-08-08 20:27:53 +02:00
Joakim Soderlund
627ba8d21c Move pytest fixtures into their own package 2018-08-08 19:03:42 +02:00
Joakim Soderlund
684c75ef3e Ignore method assignment type error 2018-08-04 22:19:52 +02:00
Joakim Soderlund
aaa309d3a8 Add fetcher for Fimfiction APIv2 2018-07-15 20:04:11 +02:00
Joakim Soderlund
0ee02b971a Fix build after static type checker changes 2018-06-02 17:40:42 +02:00
Joakim Soderlund
0587144a5d Make DirectoryFetcher iterable 2018-03-01 20:42:24 +01:00
Joakim Soderlund
4a7b10f2a2 Copy archive meta in update task 2018-01-27 00:01:52 +01:00
Joakim Soderlund
f3b8942c65 Update FimfarchiveFetcher for beta format 2017-12-05 23:27:52 +01:00
Joakim Soderlund
1e68420b4e Add directory fetcher 2017-11-18 16:01:38 +01:00
Joakim Soderlund
c4b9322956 Add init file to converters test package 2017-11-18 14:53:48 +01:00
Joakim Soderlund
a4c1fe5a2d Add alpha to beta converter 2017-11-12 18:35:15 +01:00
Joakim Soderlund
b590c60c3b Prioritize existing flavor in meta format mapper 2017-11-11 00:06:05 +01:00
Joakim Soderlund
4ee0824230 Add meta format mapper 2017-11-10 23:38:49 +01:00
Joakim Soderlund
478b2e7080 Change find flavors method into utility function 2017-11-10 22:41:53 +01:00
Joakim Soderlund
c604c4b2ad Write only meta for revived stories in update task 2017-11-08 20:09:09 +01:00
Joakim Soderlund
2270df477b Add JSON story writer to update task 2017-11-08 18:41:48 +01:00
Joakim Soderlund
4a2956c3c3 Limit mappers to single story as parameter 2017-11-08 18:10:39 +01:00
Joakim Soderlund
bdb7382e4e Add converters package 2017-11-08 16:59:22 +01:00
Joakim Soderlund
d9619e993a Add stamper to update task 2017-11-04 20:41:22 +01:00
Joakim Soderlund
81c4346f10 Add update stamper 2017-11-04 16:30:41 +01:00
Joakim Soderlund
0a862abcd0 Add member declaration to stampers module 2017-11-04 16:08:19 +01:00