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

Update tests for foreign currency check #14

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

Sha-yol
Copy link
Contributor

@Sha-yol Sha-yol commented Oct 18, 2024

Add minimal tests for foreign currency check functionality.
Due to the caching, this required modifying the older test_main.py, otherwise an HTTP request would be made on importing main.

Mock `requests.request` before importing main to avoid a request on import due to caching. Update tests to reflect changes.
Also, fix minor errors in tests.
tests/test_account_currency.py Show resolved Hide resolved
@Sha-yol
Copy link
Contributor Author

Sha-yol commented Oct 18, 2024 via email

@adyanth adyanth merged commit 58f07d4 into adyanth:main Oct 18, 2024
1 check failed
@Sha-yol Sha-yol deleted the foreign-currency-update-tests branch October 19, 2024 06:40
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.

2 participants