Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added another test for find.

  • Loading branch information...
commit 2bf6e0ac751e661f7fb3ff09d92e67d050b9391d 1 parent 862b7d2
@jkeyes authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/unit/test_message_thread.py
View
4 tests/unit/test_message_thread.py
@@ -66,6 +66,10 @@ def test_find(self):
self.assertEqual(1331767859,
time.mktime(messages[1].created_at.timetuple()))
+ @raises(ValueError)
+ def test_find_no_thread_id(self):
+ message_thread = MessageThread.find(email="xxx@example.com")
+
@patch('requests.request', create_response(200,
'get_message_thread_valid.json'))
def test_create(self):
Please sign in to comment.
Something went wrong with that request. Please try again.