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

Async tests for redis commands, json, bloom, timeseries #2087

Merged
merged 14 commits into from
Apr 7, 2022

Conversation

dvora-h
Copy link
Collaborator

@dvora-h dvora-h commented Apr 5, 2022

Pull Request check-list

Please make sure to review and check all of these items:

  • Does $ tox pass with this change (including linting)?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

Please provide a description of the change here.

@dvora-h dvora-h added the maintenance Maintenance (CI, Releases, etc) label Apr 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Apr 5, 2022

Codecov Report

Merging #2087 (d14fa8a) into master (20e4b87) will increase coverage by 1.22%.
The diff coverage is 99.06%.

@@            Coverage Diff             @@
##           master    #2087      +/-   ##
==========================================
+ Coverage   91.22%   92.44%   +1.22%     
==========================================
  Files         100      104       +4     
  Lines       21486    24364    +2878     
==========================================
+ Hits        19601    22524    +2923     
+ Misses       1885     1840      -45     
Impacted Files Coverage Δ
tests/test_asyncio/test_commands.py 99.58% <ø> (ø)
tests/test_asyncio/test_bloom.py 95.92% <95.92%> (ø)
redis/asyncio/client.py 91.92% <100.00%> (+1.29%) ⬆️
tests/test_asyncio/conftest.py 94.44% <100.00%> (+19.93%) ⬆️
tests/test_asyncio/test_json.py 100.00% <100.00%> (ø)
tests/test_asyncio/test_timeseries.py 100.00% <100.00%> (ø)
tests/test_cluster.py 97.48% <0.00%> (-0.12%) ⬇️
redis/commands/core.py 84.00% <0.00%> (+1.15%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20e4b87...d14fa8a. Read the comment docs.

@dvora-h dvora-h requested a review from chayim April 5, 2022 13:09
@@ -97,7 +99,8 @@ async def ateardown():


@pytest_asyncio.fixture()
async def r(create_redis):
async def r(request, create_redis):
print(request.config.getoption("--redis-url"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the print statement.

@chayim chayim self-requested a review April 7, 2022 11:20
Copy link
Contributor

@chayim chayim left a comment

Choose a reason for hiding this comment

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

Just the print to remove...

@dvora-h dvora-h requested a review from chayim April 7, 2022 11:36
@chayim chayim changed the title Async tests - redis commands, json, bloom, timeseries Async tests for redis commands, json, bloom, timeseries Apr 7, 2022
@dvora-h dvora-h merged commit cb91eed into redis:master Apr 7, 2022
@dvora-h dvora-h deleted the async-tests branch April 7, 2022 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance (CI, Releases, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants