-
Notifications
You must be signed in to change notification settings - Fork 5
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
Process an empty YAML when a configuration file isn't provided #62
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #62 +/- ##
==========================================
- Coverage 65.19% 64.96% -0.23%
==========================================
Files 22 22
Lines 1109 1119 +10
Branches 389 395 +6
==========================================
+ Hits 723 727 +4
- Misses 137 141 +4
- Partials 249 251 +2 ☔ View full report in Codecov by Sentry. |
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.
Add a test for scenarios where a user hasn't provided a configuration file.
c3b6753
to
db43dd2
Compare
1fc0a89
to
c8346de
Compare
Signed-off-by: tempate <[email protected]>
Signed-off-by: tempate <[email protected]>
Signed-off-by: tempate <[email protected]>
Signed-off-by: tempate <[email protected]>
Signed-off-by: tempate <[email protected]>
c8346de
to
cce52b9
Compare
@@ -0,0 +1,45 @@ | |||
# Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). |
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.
# Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). | |
# Copyright 2024 Proyectos y Sistemas de Mantenimiento SL (eProsima). |
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.
It's what happens when you take a year to review my PRs...
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.
Cheers to the power of patience and precision! Like a fine wine, my PRs took time to mature, and the celebration is just as sweet. Here's to the art of meticulous review and the joy of progress!
fastddsspy_tool/test/application/test_cases/tool_topics_dds_no_config.py
Outdated
Show resolved
Hide resolved
Signed-off-by: tempate <[email protected]>
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.
LGTM
In the previous version, when a user didn't provide a configuration file, the Fast-DDS Spy didn't process the default YAML configuration. To fix it, in this version when a configuration file isn't provided, the Fast-DDS Spy processes an empty YAML into which it loads the default YAML configuration.