/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 bzrlib/tests/blackbox/test_shared_repository.py

  • Committer: Parth Malwankar
  • Date: 2010-05-05 14:02:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5213.
  • Revision ID: parth.malwankar@gmail.com-20100505140253-fqdiwllq4o4htbsg
added comment to init/init-repo pass tests for lacking whoami.

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
    def test_init_repo_without_username(self):
151
151
        """Ensure init-repo works if username is not set.
152
152
        """
 
153
        # bzr makes user specified whoami mandatory for operations
 
154
        # like commit as whoami is recorded. init-repo however is not so final
 
155
        # and uses whoami only in a lock file. Without whoami the login name
 
156
        # is used. This test is to ensure that init-repo passes even when whoami
 
157
        # is not available.
153
158
        osutils.set_or_unset_env('EMAIL', None)
154
159
        osutils.set_or_unset_env('BZR_EMAIL', None)
155
160
        out, err = self.run_bzr(['init-repo', 'foo'])