Refactor observation tests to stop using ErtConfig.observations#12761
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12761 +/- ##
==========================================
+ Coverage 90.68% 90.71% +0.02%
==========================================
Files 433 434 +1
Lines 30239 30243 +4
==========================================
+ Hits 27422 27434 +12
+ Misses 2817 2809 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
andreas-el
left a comment
There was a problem hiding this comment.
Very nice work! 🥇
Please remember to squash the commits, and make sure that any spelling errors and such are removed.
|
What usages of |
9d58ee2 to
a7ee321
Compare
a7ee321 to
b745ea1
Compare
Have removed observations from ErtConfig and updated associated tests. |
8b9b5b4 to
9439198
Compare
163d3a4 to
9e317fb
Compare
Removed obsolete observations property of ErtConfig
Issue
Resolves #12751
Approach
Refactored a couple of tests to utilize
make_observationandcreate_observation_dataframeinstead of theErtConfig.observationsproperty. The helper functionmake_observationinsidetest_observations.pyhas been renamed toert_config_from_parserand changed to now only parse obs config viaparse_observations.