~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_nick.py

  • Committer: Martin Pool
  • Date: 2007-07-04 08:46:22 UTC
  • mfrom: (2552.2.5 run_bzr)
  • mto: This revision was merged to the branch mainline in revision 2588.
  • Revision ID: mbp@sourcefrog.net-20070704084622-6b8enfv9o71s7ung
Merge more runbzr cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        os.mkdir('me.dev')
30
30
        os.chdir('me.dev')
31
31
        self.run_bzr('init')
32
 
        nick = self.run_bzr(['nick'])[0]
 
32
        nick = self.run_bzr('nick')[0]
33
33
        self.assertEqual(nick, 'me.dev\n')
34
34
        # set the nickname
35
35
        self.run_bzr("nick moo")
36
 
        nick = self.run_bzr(['nick'])[0]
 
36
        nick = self.run_bzr('nick')[0]
37
37
        self.assertEqual(nick, 'moo\n')
38
38
 
39
39
    def test_autonick_urlencoded(self):
42
42
        os.mkdir('!repo')
43
43
        os.chdir('!repo')
44
44
        self.run_bzr('init')
45
 
        nick = self.run_bzr(['nick'])[0]
 
45
        nick = self.run_bzr('nick')[0]
46
46
        self.assertEqual(nick, '!repo\n')