~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-23 00:59:10 UTC
  • mfrom: (4794.1.21 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20091223005910-zatr8ajlw8ul6d6s
(robertc) Add testtools 0.9.2 as a hard dependency to run the test
        suite, improving debug output on selftest --parallel,
        reducing code size and adding support for assertThat. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2893
2893
        # In addition to re-raising ErrorFromSmartServer, some debug info has
2894
2894
        # been muttered to the log file for developer to look at.
2895
2895
        self.assertContainsRe(
2896
 
            self._get_log(keep_log_file=True),
 
2896
            self.get_log(),
2897
2897
            "Missing key 'branch' in context")
2898
2898
 
2899
2899
    def test_path_missing(self):
2907
2907
        self.assertEqual(server_error, translated_error)
2908
2908
        # In addition to re-raising ErrorFromSmartServer, some debug info has
2909
2909
        # been muttered to the log file for developer to look at.
2910
 
        self.assertContainsRe(
2911
 
            self._get_log(keep_log_file=True), "Missing key 'path' in context")
 
2910
        self.assertContainsRe(self.get_log(), "Missing key 'path' in context")
2912
2911
 
2913
2912
 
2914
2913
class TestStacking(tests.TestCaseWithTransport):