1
0
Fork 0
mirror of synced 2024-12-12 18:35:46 -05:00
yadm/test
jonasc 60b23e33e8
Assert existence of config file's parent directory
Fixes TheLocehiliosan/yadm#226

When a config file path is passed to yadm whose parent directory does
not exist, git (and hence yadm) fails without writing the file.
Yadm should, however, make sure that the directory exists s.t. git can
just write to the file.
2020-07-08 15:13:03 -05:00
..
conftest.py Support transcrypt (#197) 2020-02-21 08:05:56 -06:00
ownertrust.txt Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
pinentry-mock Create pinentry-mock 2019-12-05 15:02:43 -06:00
pylintrc Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_alt.py Change tests to expect relative links 2019-11-24 13:15:42 -06:00
test_alt_copy.py Remove old-style alts from test data 2019-12-04 08:17:03 -06:00
test_assert_private_dirs.py Support GNUPGHOME environment variable (#134) 2019-12-14 13:24:39 -06:00
test_bootstrap.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_clean.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_clone.py Only assert private dirs, when worktree = $HOME 2019-12-11 08:37:45 -06:00
test_compat_alt.py Change tests to expect relative links 2019-11-24 13:15:42 -06:00
test_compat_jinja.py Mark deprecated tests 2019-10-02 15:16:09 -05:00
test_config.py Assert existence of config file's parent directory 2020-07-08 15:13:03 -05:00
test_encryption.py Add test for multiple recipients 2020-01-15 09:17:26 -06:00
test_enter.py Confirm exit status for enter w/cmd 2019-12-16 17:11:07 -06:00
test_ext_crypt.py Support transcrypt (#197) 2020-02-21 08:05:56 -06:00
test_git.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_help.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_hooks.py Test for escaped values in YADM_HOOK_FULL_COMMAND 2020-01-24 08:33:30 -06:00
test_init.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_introspect.py Ignore encrypted files (#69) 2019-10-17 08:22:17 -05:00
test_key Create acceptance tests for asymmetric encryption 2016-04-21 07:13:40 -05:00
test_list.py Fix newly discovered linting errors 2019-10-02 15:16:09 -05:00
test_perms.py Only assert private dirs, when worktree = $HOME (#171) 2019-12-14 13:24:32 -06:00
test_syntax.py Test for warnings from man (#195) 2020-01-21 07:26:10 -06:00
test_unit_bootstrap_available.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_unit_choose_template_cmd.py Rename default template processor 2019-10-30 17:29:17 -05:00
test_unit_configure_paths.py Support XDG base directory specification 2019-09-27 08:40:31 -05:00
test_unit_exclude_encrypted.py Ignore encrypted files (#69) 2019-10-17 08:22:17 -05:00
test_unit_is_valid_branch_name.py Support -b <branch> when cloning (#133) 2019-10-08 17:28:53 -05:00
test_unit_issue_legacy_path_warning.py Confirm LEGACY_WARNING_ISSUED is set appropriately 2019-12-04 17:36:43 -06:00
test_unit_parse_encrypt.py Set YADM_WORK within configure_paths 2019-12-12 08:00:10 -06:00
test_unit_private_dirs.py Support GNUPGHOME environment variable (#134) 2019-12-14 13:24:39 -06:00
test_unit_query_distro.py Add test for quoted os-release 2020-01-14 07:21:02 -06:00
test_unit_record_score.py Refactor symlink code 2019-11-25 08:24:46 -06:00
test_unit_record_template.py Refactor symlink code 2019-11-25 08:24:46 -06:00
test_unit_relative_path.py Add function relative_path 2019-11-24 13:15:42 -06:00
test_unit_remove_stale_links.py Split out processing of stale links 2019-10-02 15:16:10 -05:00
test_unit_report_invalid_alts.py Add unit tests for reporting invalid alternates (#183) 2019-12-04 17:36:43 -06:00
test_unit_score_file.py Add unit tests for reporting invalid alternates (#183) 2019-12-04 17:36:43 -06:00
test_unit_set_local_alt_values.py Implement future alternate processing 2019-10-02 15:16:02 -05:00
test_unit_set_os.py Add test for WSL identification 2020-02-03 08:30:34 -06:00
test_unit_set_yadm_dir.py Support XDG base directory specification 2019-09-27 08:40:31 -05:00
test_unit_template_default.py Update tests for gawk support 2019-12-04 22:18:55 -06:00
test_unit_template_j2.py Add source to templates (#163) 2019-10-11 07:23:52 -05:00
test_unit_upgrade.py Test conditional submodule upgrade processing 2019-11-07 07:48:42 -06:00
test_unit_x_program.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
test_version.py Rewrite testing system (#119) 2019-02-20 07:48:25 -06:00
utils.py Properly handle missing "." in alternate conditions 2019-10-12 09:59:03 -05:00