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 #770 by adding bytes type param support #771

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

seratch
Copy link
Member

@seratch seratch commented Aug 5, 2020

Summary

This pull request fixes #770. Refer to the issue for details.

Requirements (place an x in each [ ])

Siteproxy
@seratch seratch added Version: 2x bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented web-client labels Aug 5, 2020
@seratch seratch added this to the 2.8.0 milestone Aug 5, 2020
@seratch seratch self-assigned this Aug 5, 2020
@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #771 into main will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #771   +/-   ##
=======================================
  Coverage   87.25%   87.25%           
=======================================
  Files          30       30           
  Lines        3585     3585           
  Branches      316      316           
=======================================
  Hits         3128     3128           
  Misses        325      325           
  Partials      132      132           
Impacted Files Coverage Δ
slack/web/base_client.py 78.53% <0.00%> (ø)

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 042bb05...16d76c2. Read the comment docs.


export SLACK_SDK_TEST_BOT_TOKEN=xoxb-xxx
export SLACK_SDK_TEST_WEB_TEST_CHANNEL_ID=C111
python setup.py run_integration_tests --test-target integration_tests/web/test_issue_770.py
Copy link
Member Author

Choose a reason for hiding this comment

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

You can run this test by these steps.

@seratch seratch merged commit ebb508d into slackapi:main Aug 6, 2020
@seratch seratch deleted the issue-770-bytes-upload branch August 6, 2020 22:01
seratch added a commit that referenced this pull request Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented Version: 2x web-client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

files.upload's file param doesn't accept bytes data
2 participants