Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias Import alias identifier ImportFrom alias alias alias alias alias alias alias Assign NameStore Dict Str Str Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr TupleLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Dict Call AttributeLoad NameLoad attr keyword NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Str Str Assign AttributeStore NameLoad attr Lambda arguments args NameParam defaults kwarg TupleLoad Num IfExp CompareIn NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr TupleLoad Num Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str decorator_list
N/A __future__ unicode_literals N/A logging N/A os N/A os.path mock patch call sprinter.testtools FormulaTest N/A sprinter.lib lib sprinter.formula.git CURRENT_REMOTE CURRENT_BRANCH CLONE_REPO CHECKOUT_BRANCH FETCH_BRANCH MERGE_BRANCH UPDATE_ORIGIN N/A vals N/A repoA git://github.com/toumorokoshi/sprinter.git N/A source_config N/A 
[update]
formula = sprinter.formula.git
url = %(repoA)s
 vals N/A target_config N/A 
[simple_example]
formula = sprinter.formula.git
url = %(repoA)s

[update]
formula = sprinter.formula.git
url = %(repoA)s
branch = develop
 vals TestGitFormula N/A FormulaTest N/A N/A  Tests for the git formula  setup N/A N/A self N/A N/A N/A N/A N/A N/A super TestGitFormula self setup source_config source_config target_config target_config N/A N/A self curdir N/A N/A N/A os path abspath N/A os curdir N/A teardown N/A N/A self N/A N/A N/A N/A N/A os chdir N/A self curdir N/A test_simple_example N/A N/A self call_mock N/A N/A N/A  The git formula should call a clone to a git repo  N/A install_directory N/A N/A N/A self directory install_directory simple_example N/A N/A call_mock return_value N/A 0 N/A N/A N/A N/A self environment run_feature simple_example sync N/A N/A N/A call_mock assert_has_calls N/A N/A call N/A N/A CLONE_REPO format repo N/A vals N/A repoA dir install_directory output_log_level N/A logging DEBUG N/A N/A N/A patch object lib call test_update_different_branches N/A N/A self call_mock N/A N/A N/A  The git formula should call checkout if target branch is not the current branch  N/A install_directory N/A N/A N/A self directory install_directory update N/A N/A N/A os makedirs install_directory N/A call_count 0 N/A return_values N/A N/A N/A CURRENT_REMOTE format dir install_directory N/A N/A CURRENT_BRANCH format dir install_directory git://github.com/toumorokoshi/sprinter.git master N/A N/A call_mock side_effect N/A N/A N/A cmd N/A kw N/A 0 N/A N/A cmd return_values N/A return_values N/A cmd N/A N/A N/A N/A self environment run_feature update sync N/A N/A N/A call_mock assert_any_call N/A N/A FETCH_BRANCH format dir install_directory branch develop output_log_level N/A logging DEBUG N/A N/A N/A call_mock assert_any_call N/A N/A CHECKOUT_BRANCH format dir install_directory branch develop output_log_level N/A logging DEBUG N/A N/A N/A patch object lib call test_update_no_directory N/A N/A self call_mock N/A N/A N/A  The git formula should re-clone a repo if the repo directory doesn't exist  N/A N/A call_mock return_value N/A 0 git://github.com/toumorokoshi/sprinter.git N/A N/A N/A N/A self environment run_feature update sync N/A N/A N/A call_mock assert_any_call N/A N/A CLONE_REPO format repo N/A vals N/A repoA dir N/A N/A N/A self directory install_directory update output_log_level N/A logging DEBUG N/A N/A N/A patch object lib call N/A