/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 breezy/tests/test_config.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-08 23:03:56 UTC
  • mto: (7490.40.2 work)
  • mto: This revision was merged to the branch mainline in revision 7511.
  • Revision ID: jelmer@jelmer.uk-20200608230356-a4clct7auuvhbfep
Fix handling of a particular kind of broken committer id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for finding and reading the bzr config file[s]."""
18
18
 
19
19
from textwrap import dedent
20
 
from io import BytesIO
21
20
import os
22
21
import sys
23
22
import threading
44
43
from ..bzr import (
45
44
    remote,
46
45
    )
 
46
from ..sixish import (
 
47
    BytesIO,
 
48
    text_type,
 
49
    )
47
50
from ..transport import remote as transport_remote
48
51
from . import (
49
52
    features,
2348
2351
        self.assertEqual('y', section.get('x'))
2349
2352
 
2350
2353
    def test_wrong_syntax(self):
2351
 
        self.assertRaises(errors.CommandError,
 
2354
        self.assertRaises(errors.BzrCommandError,
2352
2355
                          self.store._from_cmdline, ['a=b', 'c'])
2353
2356
 
2354
2357