~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_foreign.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-12 13:44:20 UTC
  • mfrom: (6358 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6362.
  • Revision ID: jelmer@samba.org-20111212134420-20130h4aa5ewp2m7
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    repository_class = DummyForeignVcsRepository
146
146
    _commit_builder_class = DummyForeignCommitBuilder
147
147
 
148
 
    def get_format_string(self):
 
148
    @classmethod
 
149
    def get_format_string(cls):
149
150
        return "Dummy Foreign Vcs Repository"
150
151
 
151
152
    def get_format_description(self):
229
230
 
230
231
class DummyForeignVcsBranchFormat(branch.BzrBranchFormat6):
231
232
 
232
 
    def get_format_string(self):
 
233
    @classmethod
 
234
    def get_format_string(cls):
233
235
        return "Branch for Testing"
234
236
 
235
237
    @property