Skip to content

Ease out updating of test exchange_rates when ERI or new test cases are added#760

Open
ivendor wants to merge 1 commit intoKapJI:mainfrom
ivendor:better_test
Open

Ease out updating of test exchange_rates when ERI or new test cases are added#760
ivendor wants to merge 1 commit intoKapJI:mainfrom
ivendor:better_test

Conversation

@ivendor
Copy link
Contributor

@ivendor ivendor commented Mar 15, 2026

When introducing new ERI values or new broker test case are added we have to now manually append entries into exchange rates. To workaround this problem, I've forked the test mode in 2 test modes:

  • TEST MODE when the pytest is run outside of pre-commit hook which auto append entries to the test mocks supporting parallel execution of tests via file locks
  • TEST STRICT MODE when the pytest is run inside the pre-commit hook which beahves like TEST MODE before this change.

Finally regenerated the CSV file using TEST MODE

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