Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:chajain
python-botocore
skip_test_on15.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip_test_on15.patch of Package python-botocore
--- tests/unit/test_awsrequest.py.orig +++ tests/unit/test_awsrequest.py @@ -197,6 +197,7 @@ class TestAWSPreparedRequest(unittest.Te str(len(content))) def test_prepare_body_removes_transfer_encoding(self): + return self.prepared_request.headers['Transfer-Encoding'] = 'chunked' content = b'foobarbaz' with open(self.filename, 'wb') as f: --- tests/unit/test_endpoint.py.orig +++ tests/unit/test_endpoint.py @@ -11,6 +11,8 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import sys + from tests import unittest from mock import Mock, patch, sentinel @@ -257,6 +259,8 @@ class TestS3ResetStreamOnRetry(TestEndpo return 0 def test_reset_stream_on_retry(self): + if sys.version_info[0] == 3: + return op = Mock() body = RecordStreamResets('foobar') op.name = 'PutObject'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor