~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-11 16:08:35 UTC
  • mfrom: (6353 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6372.
  • Revision ID: jelmer@samba.org-20111211160835-37jt0k0uqj8i7q3r
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