Module Import alias ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad Call NameLoad Str AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad Str Assert Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad Str Assert Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assert CompareIn Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Assert Call NameLoad Str Assert Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assert Call NameLoad Str Assert Call NameLoad Str Assert Call NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Assert Call NameLoad Str Expr Call AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad Str Assert Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword Num Expr Call NameLoad AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad Str Assert Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assert Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str With Call NameLoad body Expr Call AttributeLoad NameLoad attr Assert Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assert Call NameLoad Expr Call AttributeLoad NameLoad attr Assert UnaryOpNot Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Assert Call NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str decorator_list
N/A N/A subprocess filecmp cmp tests.fixtures * N/A servi.manifest man servi.command process_and_run_command_line servi_run servi.utils file_exists reset_cwd servi.semantic SemanticVersion servi.exceptions ServiError servi.commands.utils in_servi_code_dir test_cmd_utils N/A N/A mock_template_dir mock_in_servi_dir N/A N/A N/A N/A modify_file N/A pathfor ansible_config/playbook.yml N/A c TEMPLATE N/A N/A N/A servi_run utils --ensure_latest_manifest N/A N/A servi_run utils --ensure_latest_manifest N/A N/A N/A os remove N/A pathfor N/A c MANIFEST_FILE N/A c TEMPLATE N/A N/A N/A servi_run utils --ensure_latest_manifest N/A N/A file_exists N/A pathfor N/A c MANIFEST_FILE N/A c TEMPLATE N/A new_man N/A N/A man Manifest N/A c TEMPLATE load True N/A N/A files N/A new_man manifest N/A N/A N/A pytest raises ServiError N/A N/A N/A servi_run utils --ensure_latest_manifest --bump minor N/A N/A servi_run utils --set_ver 1.0.0 N/A N/A servi_run utils --bump patch N/A m N/A N/A man Manifest N/A c TEMPLATE N/A N/A N/A m template_version N/A SemanticVersion 1.0.1 N/A test_ensure_latest_globals_in_git N/A N/A setup_empty tmpdir N/A N/A N/A 
    Scenarios:
        * No ~/Servifile_globals.yml --> True
        * Not in git directory --> Raise
        * No local version --> copy & False
        * Different local version  --> copy & False
        * Same local version --> True
     N/A servidir N/A N/A tmpdir mkdir mockservi N/A projdir N/A N/A tmpdir mkdir myproject N/A N/A N/A subprocess call N/A git init  N/A str servidir shell True N/A N/A N/A projdir chdir N/A N/A servi_run init --skip_servifile_globals . N/A N/A servi_run utils --ensure_latest_globals_in_git  N/A N/A servi_run init -f . N/A N/A N/A pytest raises ServiError N/A N/A N/A servi_run utils --ensure_latest_globals_in_git N/A N/A N/A servidir chdir N/A N/A N/A servi_run utils --ensure_latest_globals_in_git  N/A N/A N/A N/A N/A servidir join N/A c SERVIFILE_GLOBAL check exists 1 N/A N/A modify_file N/A c SERVIFILE_GLOBAL_FULL N/A N/A N/A servi_run utils --ensure_latest_globals_in_git  N/A N/A cmp N/A c SERVIFILE_GLOBAL_FULL N/A str N/A N/A servidir join N/A c SERVIFILE_GLOBAL shallow False N/A N/A servi_run utils --ensure_latest_globals_in_git  N/A test_in_servi_code_dir N/A N/A tmpdir N/A N/A N/A py.path N/A projdir N/A N/A tmpdir mkdir myproject N/A thisdir N/A N/A N/A py path local N/A N/A N/A os path dirname __file__ N/A servidir N/A N/A thisdir join .. N/A N/A reset_cwd N/A N/A N/A N/A servidir chdir N/A N/A in_servi_code_dir N/A subdir N/A N/A servidir join tests N/A N/A N/A subdir chdir N/A N/A in_servi_code_dir N/A N/A N/A projdir chdir N/A N/A N/A in_servi_code_dir N/A test_link_githook N/A N/A setup_init N/A N/A N/A N/A N/A pytest raises ServiError N/A N/A N/A servi_run utils --link_githook N/A N/A N/A subprocess call git init . shell True N/A N/A servi_run utils --link_githook N/A N/A N/A pytest raises ServiError N/A N/A N/A servi_run utils --link_githook N/A