~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_cmdline.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2015-07-31 01:04:41 UTC
  • mto: This revision was merged to the branch mainline in revision 6606.
  • Revision ID: a.starr.b@gmail.com-20150731010441-3domwjjtnjijxlr2
Use hexlify() from binascii directly as paramiko removed hexify().

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        self.assertAsTokens([(True, '')], u'""')
67
67
        self.assertAsTokens([(False, u"''")], u"''")
68
68
        self.assertAsTokens([(True, '')], u"''", single_quotes_allowed=True)
 
69
        self.assertAsTokens([(False, u'a'), (True, u''), (False, u'c')],
 
70
                            u'a "" c')
 
71
        self.assertAsTokens([(False, u'a'), (True, u''), (False, u'c')],
 
72
                            u"a '' c", single_quotes_allowed=True)
69
73
 
70
74
    def test_unicode_chars(self):
71
75
        self.assertAsTokens([(False, u'f\xb5\xee'), (False, u'\u1234\u3456')],
113
117
        self.assertAsTokens([(False, r'\\"'), (False, r'*.py')],
114
118
                            r'\\\\\" *.py')
115
119
        self.assertAsTokens([(True, u'\\\\')], u'"\\\\')
116