~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-07-13 02:23:34 UTC
  • mfrom: (2592 +trunk) (2612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2614.
  • Revision ID: john@arbash-meinel.com-20070713022334-qb6ewgo6v4251yd9
[merge] bzr.dev 2612

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