Known subclasses: subvertpy.tests.test_client.TestClient, subvertpy.tests.test_ra.TestRemoteAccess, subvertpy.tests.test_wc.AdmObjTests, subvertpy.tests.test_wc.ContextTests, subvertpy.tests.test_wc.WcTests

A test case that provides the ability to build Subversion repositories.
Instance Variable client_ctx Undocumented
Method setUp Undocumented
Method tearDown Undocumented
Method log_message_func Undocumented
Method make_repository Create a repository.
Method make_checkout Create a new checkout.
Method client_set_prop Set a property on a local file or directory.
Method client_get_prop Retrieve a property from a local or remote file or directory.
Method client_get_revprop Get the revision property.
Method client_set_revprop Set a revision property on a repository.
Method client_resolve Resolve a conflict set on a local path.
Method client_lock Undocumented
Method client_unlock Undocumented
Method client_commit Commit current changes in specified working copy.
Instance Variable next_message Undocumented
Method client_add Add specified files to working copy.
Method client_log Fetch the log
Method client_delete Remove specified files from working copy.
Method client_copy Copy file in working copy.
Method client_update Update path.
Method build_tree Create a directory tree.
Method make_client Create a repository and a checkout. Return the checkout.
Method open_fs Open a fs.
Method get_commit_editor Obtain a commit editor.
Method _init_client Undocumented

Inherited from TestCaseInTempDir:

Instance Variable test_dir Undocumented
Instance Variable _oldcwd Undocumented

Inherited from TestCase (via TestCaseInTempDir):

Method assertIsInstance Fail if obj is not an instance of kls
Method assertIs Undocumented
def _init_client(self):
Undocumented
client_ctx =
Undocumented
def log_message_func(self, items):
Undocumented
def make_repository(self, relpath, allow_revprop_changes=(True)):
Create a repository.
ReturnsHandle to the repository.
def make_checkout(self, repos_url, relpath):
Create a new checkout.
def client_set_prop(self, path, name, value):
Set a property on a local file or directory.
def client_get_prop(self, path, name, revnum=None, recursive=(False)):
Retrieve a property from a local or remote file or directory.
def client_get_revprop(self, url, revnum, name):
Get the revision property.
ParametersurlURL of the repository
revnumRevision number
nameProperty name
ReturnsRevision property value
def client_set_revprop(self, url, revnum, name, value):
Set a revision property on a repository.
ParametersurlURL of the repository
revnumRevision number of the revision
nameName of the property
valueValue of the property, None to remove
def client_resolve(self, path, choice, depth=0):
Resolve a conflict set on a local path.
def client_lock(self, path, comment="""A comment""", steal_lock=(False)):
Undocumented
def client_unlock(self, path, steal_lock=(False)):
Undocumented
def client_commit(self, dir, message=None, recursive=(True)):
Commit current changes in specified working copy.
ParametersdirList of paths to commit.
next_message =
Undocumented
def client_add(self, relpath, recursive=(True)):
Add specified files to working copy.
ParametersrelpathPath to the files to add.
def client_log(self, url, start_revnum, stop_revnum):
Fetch the log
ParametersurlURL to log
start_revnumStart revision of the range to log over
start_revnumStop revision of the range to log over
ReturnsDictionary
def client_delete(self, relpath):
Remove specified files from working copy.
ParametersrelpathPath to the files to remove.
def client_copy(self, oldpath, newpath, revnum=None):
Copy file in working copy.
ParametersoldpathRelative path to original file.
newpathRelative path to new file.
def client_update(self, path):
Update path.
ParameterspathPath
def build_tree(self, files):
Create a directory tree.
ParametersfilesDictionary with filenames as keys, contents as values. None as value indicates a directory.
def make_client(self, repospath, clientpath, allow_revprop_changes=(True)):
Create a repository and a checkout. Return the checkout.
ParametersrepospathOptional relpath to check out if not the full repository.
clientpathPath to checkout
ReturnsRepository URL.
def open_fs(self, relpath):
Open a fs.
ReturnsFS.
def get_commit_editor(self, url, message="""Test commit"""):
Obtain a commit editor.
ParametersurlURL to connect to
messageCommit message
ReturnsCommit editor object
API Documentation for subvertpy, generated by pydoctor at 2020-04-10 02:42:24.