/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/plugins/bash_completion/tests/test_bashcomp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import sys
18
18
 
19
 
import brzlib
20
 
from brzlib import commands, tests
21
 
from brzlib.tests import features
22
 
from brzlib.plugins.bash_completion.bashcomp import *
 
19
import breezy
 
20
from breezy import commands, tests
 
21
from breezy.tests import features
 
22
from breezy.plugins.bash_completion.bashcomp import *
23
23
 
24
24
import subprocess
25
25
 
224
224
    def test_brz_version(self):
225
225
        data = CompletionData()
226
226
        cg = BashCodeGen(data)
227
 
        self.assertEqual('%s.' % brzlib.version_string, cg.brz_version())
 
227
        self.assertEqual('%s.' % breezy.version_string, cg.brz_version())
228
228
        data.plugins['foo'] = PluginData('foo', '1.0')
229
229
        data.plugins['bar'] = PluginData('bar', '2.0')
230
230
        cg = BashCodeGen(data)
231
231
        self.assertEqual('''\
232
232
%s and the following plugins:
233
233
# bar 2.0
234
 
# foo 1.0''' % brzlib.version_string, cg.brz_version())
 
234
# foo 1.0''' % breezy.version_string, cg.brz_version())
235
235
 
236
236
    def test_global_options(self):
237
237
        data = CompletionData()