ci: add pre-commit and tests workflows
This commit is contained in:
parent
ee43046e59
commit
bdb5c984fa
13 changed files with 339 additions and 297 deletions
|
|
@ -6,7 +6,7 @@ from halig.settings import Settings, load_from_file
|
|||
|
||||
|
||||
def test_settings_from_env(settings: Settings, notebooks_root_path_envvar):
|
||||
from_env_settings = Settings() # type: ignore[call-arg]
|
||||
from_env_settings = Settings(recipient_paths=settings.recipient_paths, identity_paths=settings.identity_paths) # type: ignore[call-arg]
|
||||
assert from_env_settings.notebooks_root_path == settings.notebooks_root_path
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue