-
Notifications
You must be signed in to change notification settings - Fork 0
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
One Zero bank test failed #146
Comments
Re-checking now: there's no difference between the scraped and online-viewed JSON, and the test passed. |
After checking manually and reviewing the test runs (including the latest run), the issue does not reproduce. |
https://github.com/jond01/xil/actions/runs/7432286995/job/20225973783 The client sub-issue (web browser/Python) is orthogonal to the test failure. |
https://github.com/jond01/xil/actions/runs/6708383613
After a quick examination - there are probably two separate issues.
Need to understand if the following assertions are correct:
xil/tests/test_onezero.py
Lines 19 to 24 in 4f21d82
The "official rate" is probably updated once a day, so the sell/buy rates may not respect the assumed relations at all times.
The raw JSON from a simple scraping is different than the one I see on the web browser.
The scraped one, which is used in XIL, can be obtained with:
The difference is:
Need to understand where does this difference data come from.
The text was updated successfully, but these errors were encountered: