~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-11-17 03:20:35 UTC
  • mfrom: (4792.4.3 456036)
  • Revision ID: pqm@pqm.ubuntu.com-20091117032035-s3sgtlixj1lrminn
(Gordon Tyler) Fix IndexError during 'bzr ignore /' (#456036)

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(),
 
2896
            self._get_log(keep_log_file=True),
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(self.get_log(), "Missing key 'path' in context")
 
2910
        self.assertContainsRe(
 
2911
            self._get_log(keep_log_file=True), "Missing key 'path' in context")
2911
2912
 
2912
2913
 
2913
2914
class TestStacking(tests.TestCaseWithTransport):
3041
3042
            local_tree.commit('more local changes are better')
3042
3043
            branch = Branch.open(self.get_url('tree3'))
3043
3044
            branch.lock_read()
3044
 
            self.addCleanup(branch.unlock)
3045
3045
            return None, branch
3046
3046
        rev_ord, expected_revs = self.get_ordered_revs('1.9', 'unordered',
3047
3047
            branch_factory=make_stacked_stacked)