Skip to content
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

Implemented review feedback for PR #55 #63

Merged
merged 13 commits into from
Jan 12, 2024

Conversation

cs-dieter-kling
Copy link
Contributor

  1. Implemented review feedback for PR Feature #54: Adding new data source for Austria: e-control.at (aka ladestellen.at) #55
  • added 3 new columns to stations db table: evse_country_id, evse_operator_id and evse_station_id
  • moved lst_expand method to shared
  1. Converted all tests to pytest (simpler syntax) and refactored some of them
  2. Implemented many fixes in order to eliminate warnings from the static code analyzers

- added 3 new columns to `stations` db table: `evse_country_id`, `evse_operator_id` and `evse_station_id`
- moved `lst_expand` method to `shared`
2. Converted all tests to pytest (simpler syntax) and refactored some of them
3. Implemented many fixes in order to eliminate warnings from the static code analyzers
Copy link
Collaborator

@mjmader mjmader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran the de and at pipelines, and those looked fine to me with the changes.
The only problem I had was that when i do not set DB_SCHEMA in env, I get

============================================================================================================================================= short test summary info =============================================================================================================================================
ERROR tests/integration/test_int_merger.py::test_int_deduplication_expect_a_merged_entry_if_two_duplicates_exists - sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DuplicateSchema) schema "public" already exists
ERROR tests/integration/test_int_merger.py::test_int_deduplication_ocm_should_have_higher_prio_than_bna - sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DuplicateSchema) schema "public" already exists
ERROR tests/integration/test_int_merger.py::test_int_at_merger_bug_country_code_data_source_mismatch - sqlalchemy.exc.ProgrammingError: (psycopg2.errors.DuplicateSchema) schema "public" already exists
========================================================================================================================================== 99 passed, 3 errors in 31.44s ==========================================================================================================================================

when running pytest. Tests work if I set a DB_SCHEMA value.
I think we can fix this in a later PR

…the `date_created` test case for a 60 seconds difference.
@mjmader mjmader merged commit b436533 into main Jan 12, 2024
1 check passed
@mjmader mjmader deleted the feature/fix_review_comments_from_pr_55 branch January 12, 2024 12:28
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.

3 participants