Marnanel Thurman
45e8772430
test_collection_response_spills()
2018-09-06 18:26:11 +01:00
Marnanel Thurman
852b57ddce
test contents of page 1 in collection response
2018-09-06 17:18:21 +01:00
Marnanel Thurman
59fe9d4372
test_collection_response, for index pages. Content pages to follow'.
2018-09-06 16:09:32 +01:00
Marnanel Thurman
ce4ccf95ca
test_tombstone_object_response. Also, checked response status code in test_object_response.
2018-09-06 15:47:36 +01:00
Marnanel Thurman
f750b8e9a0
test_empty_response, test_object_response
2018-09-06 15:40:46 +01:00
Marnanel Thurman
7778f0a512
test_tombstone_exception
2018-09-06 15:30:26 +01:00
Marnanel Thurman
84c5afb403
intermediate
2018-09-05 23:11:18 +01:00
Marnanel Thurman
3da527d639
intermediate
2018-09-05 23:09:11 +01:00
Marnanel Thurman
27c218e42b
Check both following and followed views
2018-09-01 22:54:51 +01:00
Marnanel Thurman
514f5ecadf
Tests for FollowersView (they pass)
2018-09-01 18:19:48 +01:00
Marnanel Thurman
81a27fb853
ActivityObjectView delegates to its subclass for content via objectDetails().
...
Actor has a string representation.
FollowersView removed for now, because testing it is too fiddly
(it's not obvious how to construct the URL for the test client
now that we're using URLs as identifiers). It may be back later.
Version number bump.
2018-08-31 17:55:57 +01:00
Marnanel Thurman
dd8daa7f66
Added tests to ensure that other apps can make to our data.
...
Reworked Actor: the only thing we know about an Actor is their URL.
Removed tests for Followers collections because it's hard to test
without subclassing the view. I may put it back in later.
2018-08-30 00:59:38 +01:00
Marnanel Thurman
61a3c2e020
Collection tests pass
2018-08-27 19:06:39 +01:00
Marnanel Thurman
c04a83e442
intermediate
2018-08-27 18:53:52 +01:00
Marnanel Thurman
e196010b82
OrderedCollectionPage tests fixed further
2018-08-26 22:44:56 +01:00
Marnanel Thurman
1c33a052c5
Tests now work with paging correctly
2018-08-26 22:21:09 +01:00
Marnanel Thurman
031826dd93
tests check for page contents correctly, but don't yet account for multiple pages
2018-08-26 21:16:04 +01:00
Marnanel Thurman
f31caf1264
intermediate
2018-08-26 20:07:27 +01:00
Marnanel Thurman
d7dfbee52d
can test followers collection up to 100
2018-08-26 19:35:08 +01:00
Marnanel Thurman
9157c2f215
intermediate
2018-08-26 19:27:45 +01:00
Marnanel Thurman
dbf8f149c0
intermediate
2018-08-25 00:04:08 +01:00
Marnanel Thurman
d3e90ec4c7
intermediate
2018-08-24 19:29:35 +01:00
Marnanel Thurman
cacb67345e
Starting to get the tests in order
2018-08-20 20:14:49 +01:00
Marnanel Thurman
8fb9844a92
intermediate
2018-08-20 16:08:06 +01:00
Marnanel Thurman
8e9b36696a
actually let's just not bother with Register
2018-08-20 00:10:19 +01:00
Marnanel Thurman
e1a3aca719
intermediate
2018-08-19 21:47:54 +01:00
Marnanel Thurman
368434fd89
renamed activity_fields() to serialize() throughout. rm old call to register_type which no longer exists
2018-08-19 16:49:48 +01:00
Marnanel Thurman
be18932ca3
intermediate
2018-08-19 04:11:44 +01:00
Marnanel Thurman
737e58d6cd
Rewrite of much of django_kepi/models.py to use GenericForeignKeys.
...
Unfortunately, now the tests break...
2018-08-18 20:21:39 +01:00
Marnanel Thurman
1c09eb1d5d
one-to-one links from ActivityObject
2018-08-12 14:06:26 +01:00
Marnanel Thurman
8a8359c88b
tests actually pass
2018-08-11 23:36:59 +01:00
Marnanel Thurman
d2ff356683
I have now raised that bug: https://code.djangoproject.com/ticket/29662
2018-08-11 21:52:07 +01:00
Marnanel Thurman
8e8a18c193
tests are somewhat closer to passing
2018-08-11 20:03:39 +01:00
Marnanel Thurman
caeeceea5d
further intermediate work
2018-08-11 17:21:56 +01:00
Marnanel Thurman
830d2d30e1
a very basic sketch
2018-08-11 17:01:54 +01:00
Marnanel Thurman
741c0469dd
Move old tests into the tests/ directory, and create tests/__init__.py
2018-08-08 19:40:21 +01:00
Marnanel Thurman
c0fff83e3f
moved test_settings.py into tests/; added standard apps
2018-08-07 16:29:26 +01:00