Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body TryExcept body ImportFrom alias identifier handlers ExceptHandler body ImportFrom alias identifier Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Assign NameStore ListLoad Call NameLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIn AttributeLoad SubscriptLoad NameLoad Index Num attr ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad decorator_list
N/A collections namedtuple N/A os N/A shutil N/A sys N/A tempfile N/A yaml passpie.importers find_importer BaseImporter get_instances passpie.importers.default_importer DefaultImporter passpie.importers.pysswords_importer PysswordsImporter mock_open N/A N/A N/A N/A N/A N/A mock mock_open mopen N/A N/A N/A unittest.mock mock_open mopen N/A N/A mopen N/A test_pysswords_returns_false_with_logging_when_not_installed N/A N/A mocker N/A N/A N/A to_patch passpie.importers.pysswords_importer.found_pysswords N/A N/A N/A mocker patch to_patch return_value False N/A importer N/A PysswordsImporter N/A N/A importer log N/A N/A mocker Mock N/A result N/A N/A importer match filepath N/A N/A result False N/A N/A N/A importer log called N/A N/A N/A N/A importer log assert_called_once_with Pysswords is not installed N/A test_pysswords_returns_false_with_logging_when_path_not_dir N/A N/A mocker N/A N/A N/A to_patch passpie.importers.pysswords_importer.found_pysswords N/A N/A N/A mocker patch to_patch return_value True N/A mock_os N/A N/A mocker patch passpie.importers.pysswords_importer.os N/A N/A N/A N/A mock_os path is_dir return_value False N/A importer N/A PysswordsImporter N/A N/A importer log N/A N/A mocker Mock N/A result N/A N/A importer match filepath N/A N/A result False N/A N/A N/A importer log called N/A N/A N/A N/A importer log assert_called_once_with .keys not found in path N/A test_pysswords_returns_false_with_logging_when_keys_not_in_path N/A N/A mocker N/A N/A N/A to_patch passpie.importers.pysswords_importer.found_pysswords N/A N/A N/A mocker patch to_patch return_value True N/A mock_os N/A N/A mocker patch passpie.importers.pysswords_importer.os N/A N/A N/A N/A mock_os path is_dir return_value True N/A N/A N/A mock_os listdir return_value N/A N/A importer N/A PysswordsImporter N/A N/A importer log N/A N/A mocker Mock N/A result N/A N/A importer match filepath N/A N/A result False N/A N/A N/A importer log called N/A N/A N/A N/A importer log assert_called_once_with .keys not found in path N/A test_pysswords_match_returns_true_when_expected_path N/A N/A mocker N/A N/A N/A to_patch passpie.importers.pysswords_importer.found_pysswords N/A N/A N/A mocker patch to_patch return_value True N/A mock_os N/A N/A mocker patch passpie.importers.pysswords_importer.os N/A N/A N/A N/A mock_os path is_dir return_value True N/A N/A N/A mock_os listdir return_value N/A .keys N/A importer N/A PysswordsImporter N/A result N/A N/A importer match filepath N/A N/A result True N/A test_pysswords_handle_returns_empty_when_bad_passphrase N/A N/A mocker N/A N/A N/A N/A N/A mocker patch passpie.importers.pysswords_importer.click N/A to_patch passpie.importers.pysswords_importer.Database N/A mock_pysswords_db N/A N/A N/A mocker patch to_patch create True N/A N/A N/A mock_pysswords_db check return_value False N/A importer N/A PysswordsImporter N/A result N/A N/A importer handle path N/A N/A result N/A N/A test_pysswords_handle_returns_pysswords_credentials N/A N/A mocker N/A N/A N/A Cred N/A namedtuple Credential name login password comment N/A credentials N/A N/A Cred name login password comment N/A N/A N/A mocker patch passpie.importers.pysswords_importer.click N/A N/A N/A mocker patch passpie.importers.pysswords_importer.make_fullname N/A to_patch passpie.importers.pysswords_importer.Database N/A mock_pysswords_db N/A N/A N/A mocker patch to_patch create True N/A N/A N/A mock_pysswords_db check return_value True N/A N/A mock_pysswords_db credentials credentials N/A importer N/A PysswordsImporter N/A result N/A N/A importer handle path N/A N/A N/A N/A credentials N/A 0 name N/A N/A c N/A name N/A c result N/A