Zope 4.x: Fix OFS.Image PUT() for Python 2 (#1015).
Arnaud Fontaine authored
This fixes failures in erp5_dms:testWebDavSupport.

  Traceback (innermost last):
    [...]
    Module Products.ERP5Type.patches.OFSImage, line 94, in PUT
      return PUT_orig(self, REQUEST, RESPONSE)
    Module OFS.Image, line 665, in PUT
      data = data.encode('UTF-8')
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in position 10: ordinal not in range(128)
8cd7a917
Name Last commit Last update
.husky pre-commit hook: version up and python3 support
component Zope 4.x: Fix OFS.Image PUT() for Python 2 (#1015).
slapos erp5/neoppod/slapos: Support for python3 from aurel/zope4 branch.
software Merge remote-tracking branch 'origin/master' into zope4py2
stack Zope 4.x: Fix OFS.Image PUT() for Python 2 (#1015).
.editorconfig add a .editorconfig
.gitignore Ignore file generated by update-rc
MANIFEST.in cleanup: README and CHANGES files where renamed.
README.rst [slapconfiguration] Recipe reads partitions resource file (tests included)
README.software.rst doc: Update file extension and clean up unused files
README.update-hash.rst slapos: Provide update-hash README
format-json format-json: python3 support
package-lock.json pre-commit hook: version up and python3 support
package.json package.json: also configure git update-hash-mergetool
release-cookbook Add script to release slapos.cookbook
release-sr release-sr: Fix usage for various cases
schema.json *: reformat json with format-json
setup.py Release slapos.cookbook (1.0.226)
sla.schema.json *: reformat json with format-json
update-hash update-hash: python3 support
update-hash-mergetool tools: a simple git.mergetool for working with buildout.hash.cfg
update-rc update-rc: Update origin before playing with it
validate-schema Add validate-schema: A slapos descriptor schema validator.

slapos.cookbook

Cookbook of SlapOS recipes.

testing

Unit tests for recipes can be found under slapos/test/recipe. To run the tests use provided unittest.defaultTestLoader inside slapos/test/test_recipe by invoking

python setup.py test --test-suite slapos.test.test_recipe.additional_tests