~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-28 07:08:27 UTC
  • mfrom: (2553.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070628070827-h5s313dg5tnag9vj
(robertc) Show the names of commit hooks during commit.

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')