zilencer: Text-wrap long lines exceeding 110.

This commit is contained in:
rht
2017-11-04 14:16:50 +01:00
committed by Tim Abbott
parent 900cd13865
commit 548c96ad86
3 changed files with 10 additions and 4 deletions

View File

@@ -23,8 +23,9 @@ class MockRequest(HttpRequest):
self.path = '/'
self.method = "POST"
self.META = {"REMOTE_ADDR": "127.0.0.1"}
anchor = UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id
self.REQUEST = {
"anchor": UserMessage.objects.filter(user_profile=self.user).order_by("-message")[200].message_id,
"anchor": anchor,
"num_before": 1200,
"num_after": 200
}