def test_subversion__get_vcs_version_cached(version: Tuple[int, ...]) -> None: """ Test Subversion.get_vcs_version() with previously cached result. """ svn = Subversion() svn._vcs_version = version assert svn.get_vcs_version() == version
def test_subversion__get_vcs_version_cached(version): """ Test Subversion.get_vcs_version() with previously cached result. """ svn = Subversion() svn._vcs_version = version assert svn.get_vcs_version() == version
def test_subversion__get_remote_call_options(use_interactive, vcs_version, expected_options): """ Test Subversion.get_remote_call_options(). """ svn = Subversion(use_interactive=use_interactive) svn._vcs_version = vcs_version assert svn.get_remote_call_options() == expected_options
def test_subversion__get_remote_call_options( use_interactive: bool, vcs_version: Tuple[int, ...], expected_options: List[str]) -> None: """ Test Subversion.get_remote_call_options(). """ svn = Subversion(use_interactive=use_interactive) svn._vcs_version = vcs_version assert svn.get_remote_call_options() == expected_options