~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/tests/test_client.py

  • Committer: Aaron Bentley
  • Date: 2012-01-10 15:36:31 UTC
  • mto: (6.1.30 trunk)
  • mto: This revision was merged to the branch mainline in revision 45.
  • Revision ID: aaron@canonical.com-20120110153631-vvqlfg122u08wsrt
Accept arbitrary permalink urls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
from grackle.client import (
14
14
    GrackleClient,
15
 
    message_path,
16
15
    )
17
16
 
18
17
 
62
61
            with ExpectedException(Exception, 'wtf'):
63
62
                client.put_message('arch1', 'asdf',
64
63
                    StringIO('This is not a message'))
65
 
 
66
 
 
67
 
class TestMessagePath(TestCase):
68
 
 
69
 
    def test_message_path(self):
70
 
        self.assertEqual('/my%20/%3C', message_path('my ', '<'))