~didrocks/unity/altf10

« back to all changes in this revision

Viewing changes to grackle/tests/test_client.py

  • Committer: William Grant
  • Date: 2012-01-25 06:19:56 UTC
  • Revision ID: william.grant@canonical.com-20120125061956-4tltjt6a4xf5yufj
Fix test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        with ForkedFake.from_client(client,
355
355
                {'baz': [{'message_id': 'foo', 'date': '2011-03-25'},
356
356
                 {'message_id': 'bar', 'date': '2011-03-24'}]}):
357
 
            with ExpectedException(UnsupportedOrder):
 
357
            with ExpectedException(UnsupportedOrder, ''):
358
358
                client.get_messages('baz', order='nonsense')
359
359
 
360
360
    def test_get_messages_headers_no_headers(self):