~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5345.2.2.

  • Committer: Vincent Ladeuil
  • Date: 2010-07-19 09:31:44 UTC
  • mto: (5345.1.6 lockable-config-files)
  • mto: This revision was merged to the branch mainline in revision 5395.
  • Revision ID: v.ladeuil+lp@free.fr-20100719093144-xh55czw06o6sdncd
      Simplify test config building.
      
      * bzrlib/tests/test_config.py:
      Simplify tests that use _content to build a config in memory.
      
      * bzrlib/tests/test_commands.py:
      (TestGetAlias._get_config): Simplified.
      
      * bzrlib/config.py:
      (IniBasedConfig.__init__): _content is a basestring that is
      transformed before calling ConfigObj.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: