s.t.SubversionTestCase(TestCaseInTempDir) : class documentation

Part of subvertpy.tests View In Hierarchy

Known subclasses: subvertpy.tests.test_client.TestClient, subvertpy.tests.test_ra.TestRemoteAccess

A test case that provides the ability to build Subversion repositories.
Method setUp Undocumented
Method log_message_func Undocumented
Method make_repository Create a repository.
Method make_checkout Undocumented
Method client_set_prop Undocumented
Method client_get_prop Undocumented
Method client_get_revprop Get the revision property.
Method client_set_revprop Undocumented
Method client_resolve Undocumented
Method client_commit Commit current changes in specified working copy.
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:

Method tearDown 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
def setUp(self):
Undocumented
def log_message_func(self, items):
Undocumented
def make_repository(self, relpath, allow_revprop_changes=True):
Create a repository.

:return: Handle to the repository.

def make_checkout(self, repos_url, relpath):
Undocumented
def client_set_prop(self, path, name, value):
Undocumented
def client_get_prop(self, path, name, revnum=None, recursive=False):
Undocumented
def client_get_revprop(self, url, revnum, name):
Get the revision property.

:param url: URL of the repository :param revnum: Revision number :param name: Property name :return: Revision property value

def client_set_revprop(self, url, revnum, name, value):
Undocumented
def client_resolve(self, path, choice, depth=0):
Undocumented
def client_commit(self, dir, message=None, recursive=True):
Commit current changes in specified working copy.

:param dir: List of paths to commit.

def client_add(self, relpath, recursive=True):
Add specified files to working copy.

:param relpath: Path to the files to add.

def client_log(self, url, start_revnum, stop_revnum):
Fetch the log

:param url: URL to log :param start_revnum: Start revision of the range to log over :param start_revnum: Stop revision of the range to log over :return: Dictionary

def client_delete(self, relpath):
Remove specified files from working copy.

:param relpath: Path to the files to remove.

def client_copy(self, oldpath, newpath, revnum=None):
Copy file in working copy.

:param oldpath: Relative path to original file. :param newpath: Relative path to new file.

def client_update(self, path):
Update path.

:param path: Path

def build_tree(self, files):
Create a directory tree.

:param files: Dictionary 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.

:param repospath: Optional relpath to check out if not the full
    repository.
:param clientpath: Path to checkout
:return: Repository URL.
def open_fs(self, relpath):
Open a fs.

:return: FS.

def get_commit_editor(self, url, message='Test commit'):
Obtain a commit editor.

:param url: URL to connect to :param message: Commit message :return: Commit editor object

API Documentation for subvertpy, generated by pydoctor at 2010-12-01 16:04:34.