Module Expr Str ImportFrom alias alias alias alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call NameLoad Dict Str Str Str BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad ListLoad Str Str SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str Expr Call NameLoad ListLoad Str NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad ListLoad Str Str NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call NameLoad ListLoad Str Str Str BinOpMod Str SubscriptLoad NameLoad Index Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call NameLoad ListLoad Str Str Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Dict Str Str Str Str BinOpAdd Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call NameLoad Dict Str Str Str Str BinOpAdd Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call NameLoad Dict Str Str Str Str BinOpAdd Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Dict Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Dict Str Str Str BinOpAdd Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Str decorator_list decorator_list ClassDef bases NameLoad NameLoad AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore BinOpAdd Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A Tests for vcspull.

vcspull.testsuite.repo_git
~~~~~~~~~~~~~~~~~~~~~~~~~~

 __future__ absolute_import division print_function with_statement unicode_literals N/A os N/A logging N/A unittest N/A mock helpers RepoTestMixin RepoIntegrationTest ConfigTestCase N/A exc _compat StringIO repo create_repo util run N/A logger N/A N/A logging getLogger __name__ RepoGit N/A RepoIntegrationTest N/A unittest TestCase N/A N/A Integration level tests. test_repo_git_update N/A N/A self N/A N/A N/A repo_dir N/A N/A N/A os path join N/A self TMP_DIR .repo_dir N/A repo_name my_git_project N/A git_repo N/A create_repo N/A url cwd name N/A git+file:// N/A N/A N/A os path join repo_dir repo_name N/A self TMP_DIR repo_name N/A N/A N/A os mkdir repo_dir N/A N/A run N/A git init N/A git_repo N/A name cwd repo_dir N/A git_checkout_dest N/A N/A N/A os path join N/A self TMP_DIR N/A git_repo N/A name N/A N/A N/A git_repo obtain quiet True N/A testfile testfile.test N/A N/A run N/A touch testfile cwd N/A N/A N/A os path join repo_dir repo_name N/A N/A run N/A git add testfile cwd N/A N/A N/A os path join repo_dir repo_name N/A N/A run N/A git commit -m N/A a test file for %s N/A git_repo N/A name cwd N/A N/A N/A os path join repo_dir repo_name N/A N/A N/A git_repo update_repo N/A test_repo_revision N/A N/A run N/A git rev-parse HEAD cwd N/A N/A N/A os path join repo_dir repo_name N/A stdout N/A N/A N/A self assertEqual N/A N/A git_repo get_revision test_repo_revision N/A N/A N/A self assertTrue N/A N/A N/A os path exists git_checkout_dest N/A N/A GitRepoRemotes N/A RepoIntegrationTest N/A unittest TestCase N/A test_remotes N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A git_checkout_dest N/A N/A N/A os path join N/A self TMP_DIR dontmatta N/A git_repo N/A create_repo N/A url cwd name remotes N/A git+file:// git_checkout_dest N/A N/A N/A os path dirname repo_dir N/A N/A N/A os path basename N/A N/A N/A os path normpath repo_dir N/A N/A remote_name url myrepo file:/// N/A N/A N/A git_repo obtain quiet True N/A N/A N/A self assertIn myrepo N/A N/A git_repo remotes_get N/A test_remotes_vcs_prefix N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A git_checkout_dest N/A N/A N/A os path join N/A self TMP_DIR dontmatta N/A remote_url https://localhost/my/git/repo.git N/A remote_vcs_url N/A git+ remote_url N/A git_repo N/A create_repo N/A url cwd name remotes N/A git+file:// git_checkout_dest N/A N/A N/A os path dirname repo_dir N/A N/A N/A os path basename N/A N/A N/A os path normpath repo_dir N/A N/A remote_name url myrepo remote_vcs_url N/A N/A N/A git_repo obtain quiet True N/A N/A N/A self assertIn N/A remote_url remote_url N/A N/A N/A N/A git_repo remotes_get values N/A test_remotes_preserves_git_ssh N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A git_checkout_dest N/A N/A N/A os path join N/A self TMP_DIR dontmatta N/A remote_url git+ssh://git@github.com/tony/AlgoXY.git N/A git_repo N/A create_repo N/A url cwd name remotes N/A git+file:// git_checkout_dest N/A N/A N/A os path dirname repo_dir N/A N/A N/A os path basename N/A N/A N/A os path normpath repo_dir N/A N/A remote_name url myrepo remote_url N/A N/A N/A git_repo obtain quiet True N/A N/A N/A self assertIn N/A remote_url remote_url N/A N/A N/A N/A git_repo remotes_get values N/A N/A GitRepoSSHUrl N/A RepoTestMixin ConfigTestCase N/A unittest TestCase N/A test_private_ssh_format N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo N/A git_checkout_dest N/A N/A N/A os path join N/A self TMP_DIR private_ssh_repo N/A git_repo N/A create_repo N/A url cwd name N/A git+ssh://github.com: git_checkout_dest N/A N/A N/A os path dirname repo_dir N/A N/A N/A os path basename N/A N/A N/A os path normpath repo_dir N/A N/A N/A self assertRaisesRegexp N/A exc VCSPullException is malformatted N/A N/A N/A N/A git_repo obtain quiet True N/A N/A TestRemoteGit N/A RepoTestMixin ConfigTestCase N/A unittest TestCase N/A test_ls_remotes N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A remotes N/A N/A git_repo remotes_get N/A N/A N/A self assertIn origin remotes N/A test_get_remotes N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A N/A N/A self assertIn origin N/A N/A git_repo remotes_get N/A test_set_remote N/A N/A self N/A N/A N/A N/A repo_dir git_repo N/A N/A self create_git_repo create_temp_repo True N/A mynewremote N/A N/A git_repo remote_set name myrepo url file:/// N/A N/A N/A self assertIn file:/// mynewremote msg remote_set returns remote N/A N/A N/A self assertIn file:/// N/A N/A git_repo remote_get remote myrepo msg remote_get returns remote N/A N/A N/A self assertIn myrepo N/A N/A git_repo remotes_get msg .remotes_get() returns new remote N/A N/A ErrorInStdErrorRaisesException N/A RepoTestMixin ConfigTestCase N/A unittest TestCase N/A N/A Need to imitate git remote not found.

    |isobar-frontend| (git)  create_repo directory for isobar-frontend (git)         does not exist @ /home/tony/study/std/html/isobar-frontend
    |isobar-frontend| (git)  Cloning.
    |isobar-frontend| (git)  git clone --progress         https://github.com/isobar-idev/code-standards/ /        home/tony/study/std/html/isobar-frontend
    Cloning into '/home/tony/study/std/html/isobar-frontend'...
    ERROR: Repository not found.
    ad from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
     test_repository_not_found_raises_exception N/A N/A self N/A N/A N/A repo_dir N/A N/A N/A os path join N/A self TMP_DIR .repo_dir N/A repo_name my_git_project N/A url N/A git+file:// N/A N/A N/A os path join repo_dir repo_name N/A git_repo N/A create_repo N/A url cwd name url N/A self TMP_DIR repo_name N/A error_output ERROR: hello mock subprocess stderr N/A N/A N/A self assertRaisesRegexp N/A exc VCSPullException error_output N/A N/A N/A N/A mock patch vcspull.repo.base.subprocess.Popen mock_subprocess N/A N/A N/A mock_subprocess return_value N/A N/A mock Mock stdout N/A StringIO hello mock subprocess stdout stderr N/A StringIO error_output N/A N/A N/A git_repo obtain N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite GitRepoRemotes N/A N/A N/A suite addTest N/A N/A unittest makeSuite GitRepoSSHUrl N/A N/A N/A suite addTest N/A N/A unittest makeSuite RepoGit N/A N/A N/A suite addTest N/A N/A unittest makeSuite TestRemoteGit N/A N/A N/A suite addTest N/A N/A unittest makeSuite ErrorInStdErrorRaisesException N/A suite N/A