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

Feat/improve candles mocking #6366

Merged

Conversation

cardosofede
Copy link
Contributor

Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
After reviewing some test that were failing in the workflow, I found that one test of the candles wasn't properly mocked.
I did some research and I found that the test that was checking the addition of the first candle via WebSocket also was triggering the coroutine of fill_historical_candles.
In this PR I'm solving that issue by mocking the coroutine and checking that is called.

Tests performed by the developer:
Run the test suite.

Tips for QA testing:
Nothing since is just a test improvement.

@rapcmia rapcmia requested review from rapcmia and nikspz June 8, 2023 03:08
Copy link
Contributor

@rapcmia rapcmia left a comment

Choose a reason for hiding this comment

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

  • Ran make test locally all ok for both mbp and WSL
  • Got some timeout errors and not related to the PR

@rapcmia rapcmia merged commit f2d8196 into hummingbot:development Jun 8, 2023
2 checks passed
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.

None yet

2 participants