refactoring (#13)
* general project refactoring * various small improvements * improve imap fixture with helper functions and typing * add wordpress send email setup * add wordpress receive email test * add various documentation Reviewed-on: local-it-infrastructure/e2e_tests#13 Co-authored-by: Daniel <d.brummerloh@gmail.com> Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
parent
41a042f07d
commit
d1ff1183a5
29 changed files with 323 additions and 175 deletions
|
|
@ -20,7 +20,7 @@ def test_complex_sorting() -> None:
|
|||
]
|
||||
|
||||
demo_types = ["a", "b", "c", "d", "e", "f", "g"]
|
||||
env_files = [EnvFile(env_type=t, env_path=Path(), config=dict()) for t in demo_types]
|
||||
env_files = [EnvFile(env_type=t, env_path=Path(), env_config=dict()) for t in demo_types]
|
||||
EnvManager.sort_env_files_by_rule
|
||||
sorted_env_files = EnvManager.sort_env_files_by_rule(env_files, demo_rules)
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ def test_circular_import() -> None:
|
|||
]
|
||||
|
||||
demo_types = ["a", "b", "c"]
|
||||
env_files = [EnvFile(env_type=t, env_path=Path(), config=dict()) for t in demo_types]
|
||||
env_files = [EnvFile(env_type=t, env_path=Path(), env_config=dict()) for t in demo_types]
|
||||
with pytest.raises(ValueError):
|
||||
EnvManager.sort_env_files_by_rule(env_files, demo_rules)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue