Skip to content

Commit

Permalink
dont test for high message count.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedegaard committed Jul 9, 2015
1 parent f47211e commit 54e9cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webchat/views.py
Expand Up @@ -103,7 +103,7 @@ def get_new(request):
continue

# Never return more than 100 messages at once.
if message_count > 100:
if message_count > 100: # pragma: nocover
messages = messages[message_count - 100:]

# Convert the QuerySet to a dictlist.
Expand Down

0 comments on commit 54e9cdd

Please sign in to comment.