~simpoir/landscape-client/py3fix-network-usage

Viewing all changes in revision 1004.

  • Committer: 🤖 Landscape Builder
  • Author(s): Steffen Allner
  • Date: 2017-04-05 20:19:53 UTC
  • mfrom: (999.1.1 fetch-returns-bytes-in-tests)
  • Revision ID: _landscape_builder-20170405201953-u14zw48hzg0g8wu1
Merge fetch-returns-bytes-in-tests [f=] [r=simpoir,ericsnowcurrently,landscape-builder] [a=Gocept]
Return bytes from mocks of landscape.lib.fetch.fetch().

In this MP an inconsistency between tests and actual implementation was fixed. The landscape.lib.fetch.fetch() returns bytes now explicitly, but this was not reflected in the mocks used throughout the landscape-client project.

I tried to convert all return values of the mocks to bytes and adjusted the tests accordingly.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: