Closed alanisaac closed 1 year ago
I realized I hadn't loaded the data correctly, so I decided to go full-bore on modeling and validating test data.
I updated this PR to leverage pydantic
models rather than using dataclasses
. This let me find and fix a few additional issues. As @thadk mentioned earlier in the night, we could use the same library for modeling input and output data for the engine as well, if we wanted the rules engine to do any validation.
Part of #67
This PR does a few things:
lower_snake_case
headerspytest
fixtures instead of the test class, since the class wasn't being used forsetUp
anymore