Commit graph

50 commits

Author SHA1 Message Date
Mouse Reeve
3f09b4bc8a More tests 2021-11-28 09:23:13 -08:00
Mouse Reeve
a7ee8fea24 Adds test for setting model image field 2021-11-28 08:49:54 -08:00
Mouse Reeve
7b89014e7b Updates image fields tests 2021-11-28 08:24:00 -08:00
Mouse Reeve
4f5d23e785 Replace image_serialzier helper with built-in serializers 2021-11-10 10:28:43 -08:00
Mouse Reeve
9d4e0851a0
Merge branch 'main' into image-absolute-url-getter 2021-10-20 15:12:06 -07:00
Mouse Reeve
227b72eaf9 Fixes mocks syntax 2021-09-06 15:09:04 -07:00
Mouse Reeve
72d5238590 More mocks 2021-09-06 14:50:33 -07:00
Mouse Reeve
a6b0ba1826 Updates activistreams add_status mock 2021-09-06 13:53:49 -07:00
Mouse Reeve
e4b5890992 Updates field tests 2021-08-28 11:41:33 -07:00
Mouse Reeve
dc72df7339 Generate likely followers url for existing users 2021-08-28 11:15:17 -07:00
Mouse Reeve
f308b7793d Adds test for followers only privacy level 2021-08-28 10:08:41 -07:00
Joachim
c6f8236b07 Fix tests 2021-08-04 19:11:57 +02:00
Joachim
60e805ac2b Fix tests 2021-08-04 17:39:46 +02:00
Mouse Reeve
cbf5747308 Mock mocks mocks 2021-08-03 21:59:48 -07:00
Mouse Reeve
ee9c5a2a4b Adds mock to fields 2021-08-03 12:33:42 -07:00
Mouse Reeve
9093170660 Correct test structure 2021-08-02 20:16:17 -07:00
Mouse Reeve
39b2f37947 One (hopefully) last fix 2021-08-02 20:07:46 -07:00
Mouse Reeve
a334970692 Fixes path for image field in test 2021-08-02 20:00:02 -07:00
Mouse Reeve
68f9b67fd9 Updates test 2021-08-02 19:30:42 -07:00
Mouse Reeve
b7563ca221 Adds test 2021-08-02 19:01:23 -07:00
Mouse Reeve
6d8bced0f1 Refactors test mocks 2021-08-02 16:05:40 -07:00
Joachim
878cc5cb17 Lint 2021-05-27 23:21:47 +02:00
Joachim
f8df501239 Fix tests (for realz) 2021-05-27 23:19:17 +02:00
Joachim
2ea1cd8319 Tests 2021-05-26 23:57:29 +02:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
7f271dbde7 Fixes model tests 2021-03-23 10:41:18 -07:00
Mouse Reeve
5a24c97cb5 Updates image type in fields tests 2021-03-15 15:45:18 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
cbf5479253 Test fixes 2021-02-17 08:35:17 -08:00
Mouse Reeve
ffd0759f6f Fixes field and lists tests 2021-02-06 16:13:59 -08:00
Mouse Reeve
c7c975d695 Use save method override instead of a signal
and gets the new test file working
2021-02-06 12:00:47 -08:00
Mouse Reeve
3fe7b95786 Fixes setting remote user username on update 2021-01-04 10:42:31 -08:00
Mouse Reeve
74a25f205b Validator for username field 2020-12-28 14:14:22 -08:00
Mouse Reeve
7e987fc446 Updates unit tests for new username handling
still some failing tho
2020-12-27 17:21:01 -08:00
Mouse Reeve
60239c867a Updates unit tests 2020-12-17 13:06:17 -08:00
Mouse Reeve
42167af3e9 Tests fro html field 2020-12-16 18:39:18 -08:00
Mouse Reeve
4fcdbe5299 Fixes clashing test model name 2020-12-13 15:56:30 -08:00
Mouse Reeve
c75f5a1598 Unit tests for privacy model field 2020-12-13 15:50:02 -08:00
Mouse Reeve
804066c523 a couple more assertions for testing fk field 2020-12-12 13:47:51 -08:00
Mouse Reeve
7c43fa1f7c Adds deduplication fields 2020-12-12 13:39:55 -08:00
Mouse Reeve
d0c1a68df6 Patches celery call in field tests and fixes tag field 2020-12-07 13:39:05 -08:00
Mouse Reeve
4599df752d Adds tests for many to many field deserialization 2020-12-07 09:31:12 -08:00
Mouse Reeve
69bb3f2751 Fixes validation error in many to many field deserializer 2020-12-07 09:14:30 -08:00
Mouse Reeve
7a90aa8f6c Start moving serializing from to_model to fields 2020-12-05 21:33:48 -08:00
Mouse Reeve
8500a7cfe1 Unit test fails in CI but not local 2020-12-05 15:38:12 -08:00
Mouse Reeve
ef1558628f Fixes transient failure in image field test 2020-12-05 14:48:47 -08:00
Mouse Reeve
05cde33a0c Adds tests for remaining nontrivial model fields 2020-12-05 14:42:54 -08:00
Mouse Reeve
8a900689d3 Generalizes link format in many to many field 2020-12-04 17:57:14 -08:00
Mouse Reeve
f116ce378d Fixes foreign key test 2020-12-04 17:42:41 -08:00
Mouse Reeve
aa6e312cfb Starts adding tests for custom model fields 2020-12-04 17:38:39 -08:00