Skip to content

Instantly share code, notes, and snippets.

@dionyziz
Created August 28, 2015 14:22
Show Gist options
  • Save dionyziz/93dc029ed9ec4f5b42b0 to your computer and use it in GitHub Desktop.
Save dionyziz/93dc029ed9ec4f5b42b0 to your computer and use it in GitHub Desktop.
(venv)[0] dionyziz@ubuntu ~/workspace/ting/API (python_requirements*) % python manage.py test
Creating test database for alias 'default'...
.....F...F.........
======================================================================
FAIL: test_request_messages (chat.tests.MessageViewGETTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dionyziz/workspace/ting/API/chat/tests.py", line 204, in test_request_messages
self.assertEqual(messages[0]['datetime'], datetime_to_timestamp(message2.datetime))
AssertionError: 100000003000.0 != 100000003600.0
======================================================================
FAIL: test_request_messages_with_smaller_limit_than_messages (chat.tests.MessageViewGETTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dionyziz/workspace/ting/API/chat/tests.py", line 266, in test_request_messages_with_smaller_limit_than_messages
self.assertEqual(messages[0]['text'], 'Message99')
AssertionError: u'Message0' != 'Message99'
----------------------------------------------------------------------
Ran 19 tests in 0.271s
FAILED (failures=2)
Destroying test database for alias 'default'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment