mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-16 17:03:48 -05:00
feat(configuration): support multiple vaults in the configuration file (#6)
When multiple vaults are added to the configuration file, the script will prompt you to select one at runtime
This commit is contained in:
@@ -7,7 +7,6 @@ from obsidian_metadata._utils import (
|
||||
dict_contains,
|
||||
dict_values_to_lists_strings,
|
||||
remove_markdown_sections,
|
||||
vault_validation,
|
||||
)
|
||||
|
||||
|
||||
@@ -67,13 +66,6 @@ def test_dict_values_to_lists_strings():
|
||||
}
|
||||
|
||||
|
||||
def test_vault_validation():
|
||||
"""Test vault validation."""
|
||||
assert vault_validation("tests/") is True
|
||||
assert "Path is not a directory" in vault_validation("pyproject.toml")
|
||||
assert "Path does not exist" in vault_validation("tests/vault2")
|
||||
|
||||
|
||||
def test_remove_markdown_sections():
|
||||
"""Test removing markdown sections."""
|
||||
text: str = """
|
||||
|
||||
Reference in New Issue
Block a user