~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2009-05-05 15:31:34 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090505153134-q4bp4is9gywsmzrv
Clean up test for log formats.

* bzrlib/tests/blackbox/test_logformats.py:
Update tests to actual style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2009 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
49
49
            out)
50
50
        self.assertEqual('', err)
51
51
 
52
 
    def test_init_format_2a(self):
53
 
        """Smoke test for constructing a format 2a repoistory."""
54
 
        out, err = self.run_bzr('init --format=2a')
55
 
        self.assertEqual("""Created a standalone tree (format: 2a)\n""",
56
 
            out)
57
 
        self.assertEqual('', err)
58
 
 
59
52
    def test_init_at_repository_root(self):
60
53
        # bzr init at the root of a repository should create a branch
61
54
        # and working tree even when creation of working trees is disabled.