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

Fix realtime unittest #123

Merged
merged 9 commits into from
May 16, 2024
Merged

Fix realtime unittest #123

merged 9 commits into from
May 16, 2024

Conversation

mlouielu
Copy link
Owner

Fix realtime unittest.

Over the past seven years, the price of 2330 has increased from 215 to 850, this error from unit test lmao:

>       self.assertEqual(
            s["realtime"]["best_bid_price"],
            ["214.00", "213.50", "213.00", "212.50", "212.00"],
        )
E       AssertionError: Lists differ: ['848.0000', '847.0000', '846.0000', '845.0000', '844.0000'] != ['214.00', '213.50', '213.00', '212.50', '212.00']

I hope everyone earned the money from stock market.

@mlouielu mlouielu self-assigned this May 16, 2024
@mlouielu mlouielu merged commit 0b6e18f into master May 16, 2024
9 checks passed
@mlouielu mlouielu deleted the fix-realtime-unittest branch May 16, 2024 03:28
@mlouielu mlouielu restored the fix-realtime-unittest branch May 16, 2024 03:31
@mlouielu mlouielu deleted the fix-realtime-unittest branch May 16, 2024 03:32
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