Module ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias alias Import alias identifier Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assert UnaryOpNot AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str decorator_list
N/A __future__ unicode_literals N/A logging mock Mock patch sprinter.testtools FormulaTest set_os_types N/A sprinter.lib lib N/A source_config 
[no_update]
formula = sprinter.formula.package
apt-get = gitA

[update_new_package]
formula = sprinter.formula.package
apt-get = gitA
 N/A target_config 
[simple_example]
formula = sprinter.formula.package
brew = git
apt-get = git-core
yum = git-core

[no_update]
formula = sprinter.formula.package
apt-get = gitA

[update_new_package]
formula = sprinter.formula.package
apt-get = gitB
 TestPackageFormula N/A FormulaTest N/A setup N/A N/A self N/A N/A N/A N/A N/A N/A super TestPackageFormula self setup source_config source_config target_config target_config N/A N/A self which_original N/A lib which N/A N/A lib which N/A Mock return_value True N/A teardown N/A N/A self N/A N/A N/A N/A lib which N/A self which_original N/A test_simple_example_osx N/A N/A self call N/A N/A N/A  A brew package should install on osx  N/A N/A set_os_types osx True N/A N/A N/A N/A N/A self environment run_feature simple_example sync N/A N/A N/A call assert_called_with brew install git output_log_level N/A logging DEBUG stdout None N/A N/A N/A patch object lib call test_simple_example_debian N/A N/A self call N/A N/A N/A  An apt-get package should install on debian  N/A N/A set_os_types debian True N/A N/A N/A N/A N/A self environment run_feature simple_example sync N/A N/A N/A call assert_called_with sudo apt-get -y install git-core output_log_level N/A logging DEBUG stdout None N/A N/A N/A patch object lib call test_simple_example_fedora N/A N/A self call N/A N/A N/A  A yum package should install properly on fedora  N/A N/A set_os_types fedora True N/A N/A N/A N/A N/A self environment run_feature simple_example sync N/A N/A N/A call assert_called_with sudo yum install git-core output_log_level N/A logging DEBUG stdout None N/A N/A N/A patch object lib call test_no_update N/A N/A self call N/A N/A N/A  An unchanged formula should not be updated  N/A N/A N/A N/A self environment run_feature no_update sync N/A N/A N/A call called Update was called! N/A N/A N/A patch object lib call test_update_different_package N/A N/A self call N/A N/A N/A  An feature with a new formula  N/A N/A set_os_types debian True N/A N/A N/A N/A N/A self environment run_feature update_new_package sync N/A N/A N/A call assert_called_with sudo apt-get -y install gitB output_log_level N/A logging DEBUG stdout None N/A N/A N/A patch object lib call N/A