Skip to content

Improve CLI Test Suite for open_data_pvnet#70

Open
Unnati-2061 wants to merge 1 commit intoopenclimatefix:mainfrom
Unnati-2061:main
Open

Improve CLI Test Suite for open_data_pvnet#70
Unnati-2061 wants to merge 1 commit intoopenclimatefix:mainfrom
Unnati-2061:main

Conversation

@Unnati-2061
Copy link

This PR cleans up and improves the test suite for the open_data_pvnet CLI. The goal is to make the tests more readable, maintainable, and robust, while also covering a few missing edge cases.
What’s Changed?

  • Refactored Repetitive Code
  • Made Tests Easier to Read
  • Covered More Edge Cases
  • Better Mocks, More Reliable Tests

Why this change matter?
This makes the test suite cleaner, easier to maintain, and ready for future updates. It also ensures we don’t miss edge cases that could cause unexpected failures.

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • No breaking changes introduced
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant