/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

  • Committer: Martin Pool
  • Date: 2008-09-15 09:42:16 UTC
  • mto: (3697.2.6 261315-into-1.7)
  • mto: This revision was merged to the branch mainline in revision 3710.
  • Revision ID: mbp@sourcefrog.net-20080915094216-g4cnw14q7m1u4n14
Disable RemoteBranch stacking, but get get_stacked_on_url working, and passing back exceptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    def test__str__(self):
132
132
        """SmartServerResponses can be stringified."""
133
133
        self.assertEqual(
134
 
            "<SmartServerResponse status=OK args=('args',) body='body'>",
 
134
            "<SuccessfulSmartServerResponse args=('args',) body='body'>",
135
135
            str(SuccessfulSmartServerResponse(('args',), 'body')))
136
136
        self.assertEqual(
137
 
            "<SmartServerResponse status=ERR args=('args',) body='body'>",
 
137
            "<FailedSmartServerResponse args=('args',) body='body'>",
138
138
            str(FailedSmartServerResponse(('args',), 'body')))
139
139
 
140
140