/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/test_smart.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-22 11:20:10 UTC
  • mto: This revision was merged to the branch mainline in revision 6283.
  • Revision ID: jelmer@samba.org-20111122112010-rpk2hab1ju7lld5w
s/set_config_file/put_config_file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
817
817
        return branch_token, repo_token
818
818
 
819
819
 
820
 
class TestSmartServerBranchRequestSetConfigFile(TestLockedBranch):
 
820
class TestSmartServerBranchRequestPutConfigFile(TestLockedBranch):
821
821
 
822
822
    def test_with_content(self):
823
823
        backing = self.get_transport()
824
 
        request = smart_branch.SmartServerBranchSetConfigFile(backing)
 
824
        request = smart_branch.SmartServerBranchPutConfigFile(backing)
825
825
        branch = self.make_branch('.')
826
826
        branch_token, repo_token = self.get_lock_tokens(branch)
827
827
        self.assertIs(None, request.execute('', branch_token, repo_token))
2004
2004
        """Test that known methods are registered to the correct object."""
2005
2005
        self.assertHandlerEqual('Branch.get_config_file',
2006
2006
            smart_branch.SmartServerBranchGetConfigFile)
2007
 
        self.assertHandlerEqual('Branch.set_config_file',
2008
 
            smart_branch.SmartServerBranchSetConfigFile)
 
2007
        self.assertHandlerEqual('Branch.put_config_file',
 
2008
            smart_branch.SmartServerBranchPutConfigFile)
2009
2009
        self.assertHandlerEqual('Branch.get_parent',
2010
2010
            smart_branch.SmartServerBranchGetParent)
2011
2011
        self.assertHandlerEqual('Branch.get_tags_bytes',