-
Notifications
You must be signed in to change notification settings - Fork 2
Fixed env variable LOG_ENV_VARIABLE_NAME #360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
exasol_integration_test_docker_environment/lib/base/luigi_log_config.py
Outdated
Show resolved
Hide resolved
test/unit/matchers.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put these directly into test_env_variable.py, because they are very test specific
test/unit/matchers.py
Outdated
|
||
|
||
class UsedLogPath: | ||
def __init__(self, log_path: Path, task_input_parameter): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, you could directly fetch these parameters from the task
test/unit/matchers.py
Outdated
return f"Logging: {used_log_path.task_input_parameter}" in log_content | ||
|
||
def __repr__(self): | ||
return f"LogPathCorrectnessMatcher({str(self.expected_log_path)})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The representation should be designed in a way, that you can potentially diff them, because they are used in diff in case of a failing assert
test/unit/matchers.py
Outdated
self.task_input_parameter = task_input_parameter | ||
|
||
def __repr__(self): | ||
return f"UsedLogPath({str(self.log_path)}, {self.task_input_parameter})" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The representation should be designed in a way, that you can potentially diff them, because they are used in diff in case of a failing assert
Co-authored-by: Torsten Kilias <[email protected]>
Co-authored-by: Torsten Kilias <[email protected]>
All Submissions:
[run all tests]
to the commit messagefixes #359
fixes #322