[Checkins] [zopefoundation/RestrictedPython] 2371e0: Clean up the tests. (#20)

GitHub noreply at github.com
Thu Feb 2 16:39:13 CET 2017


  Branch: refs/heads/python3_usage_documentation
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 2371e056cfc8b85ec3978b6e250ed36db29ccace
      https://github.com/zopefoundation/RestrictedPython/commit/2371e056cfc8b85ec3978b6e250ed36db29ccace
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M src/RestrictedPython/transformer.py
    A tests/__init__.py
    A tests/test_compile.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Clean up the tests. (#20)

* Remove already ported tests.
* Rename tests to match the methods they test.
* Move tests around nearer to the code they test.
* Add a missing visitor.


  Commit: 0e3afc51b6d9422055f12eb84d7c23b2d5cc92e7
      https://github.com/zopefoundation/RestrictedPython/commit/0e3afc51b6d9422055f12eb84d7c23b2d5cc92e7
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M .travis.yml
    M setup.py
    M tests/__init__.py
    M tests/test_compile.py
    M tests/test_print_function.py
    M tests/test_print_stmt.py
    M tests/test_transformer.py
    M tox.ini

  Log Message:
  -----------
  Remove six (#18)

* remove six from tests, and apply isort on tests


  Commit: f0c15c3ca168e725b2d4967b62e18a2d66998f26
      https://github.com/zopefoundation/RestrictedPython/commit/f0c15c3ca168e725b2d4967b62e18a2d66998f26
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/transformer.py
    M tests/__init__.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Fix comments for try-except + refactor the tests into parts.


  Commit: bd48de9fc48dd40e8d11b183e30dbbbb63cf8033
      https://github.com/zopefoundation/RestrictedPython/commit/bd48de9fc48dd40e8d11b183e30dbbbb63cf8033
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/transformer.py

  Log Message:
  -----------
  PEP-257


  Commit: a237d6a53286c9038a156080524b883b10fff4f4
      https://github.com/zopefoundation/RestrictedPython/commit/a237d6a53286c9038a156080524b883b10fff4f4
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/transformer.py
    M tests/__init__.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Merge pull request #21 from zopefoundation/fix-try-except2

Fix comments for try-except


  Commit: f5013b27aaaee39eb823c8501ffef24e3ca6312b
      https://github.com/zopefoundation/RestrictedPython/commit/f5013b27aaaee39eb823c8501ffef24e3ca6312b
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M src/RestrictedPython/transformer.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Transform lambda tests.

Remove an old test which was already covered by the lambda tests.


  Commit: bef0f7f89d310d257110d37c129c1a1405da55c9
      https://github.com/zopefoundation/RestrictedPython/commit/bef0f7f89d310d257110d37c129c1a1405da55c9
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Transform `def` tests.

Remove an old yes which was already tested using the new test code.


  Commit: f124cf96b681afc390a08ddc57e7aac118a9e0cc
      https://github.com/zopefoundation/RestrictedPython/commit/f124cf96b681afc390a08ddc57e7aac118a9e0cc
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Port weird lambda test.


  Commit: 116230b39443393cf72bd4eda9ca869c5db59461
      https://github.com/zopefoundation/RestrictedPython/commit/116230b39443393cf72bd4eda9ca869c5db59461
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/transformer.py

  Log Message:
  -----------
  Prevent using mutable objects as default params.


  Commit: 4084ac771d128dbaebd491d9cd8e9562d2057af6
      https://github.com/zopefoundation/RestrictedPython/commit/4084ac771d128dbaebd491d9cd8e9562d2057af6
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M src/RestrictedPython/transformer.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Merge pull request #22 from zopefoundation/fix-lambda

Transform tests.


  Commit: d65b787def9c6ec14e32c25484f7c2cfcf36f3fd
      https://github.com/zopefoundation/RestrictedPython/commit/d65b787def9c6ec14e32c25484f7c2cfcf36f3fd
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/tests/security_in_syntax.py
    M src/RestrictedPython/transformer.py
    M tests/test_transformer.py

  Log Message:
  -----------
  Merge branch 'Python3_update' into fix-init-args


  Commit: 64546c78bf4b8ddd84564f65577d47956c25eff0
      https://github.com/zopefoundation/RestrictedPython/commit/64546c78bf4b8ddd84564f65577d47956c25eff0
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-01 (Wed, 01 Feb 2017)

  Changed paths:
    M src/RestrictedPython/transformer.py

  Log Message:
  -----------
  Merge pull request #23 from zopefoundation/fix-init-args

Prevent using mutable objects as default params.


  Commit: 4d6d21c0259fe1ea6ac7dc4731896d7069e3c66d
      https://github.com/zopefoundation/RestrictedPython/commit/4d6d21c0259fe1ea6ac7dc4731896d7069e3c66d
  Author: Alexander Loechel <loechel at users.noreply.github.com>
  Date:   2017-02-02 (Thu, 02 Feb 2017)

  Changed paths:
    M .travis.yml
    M setup.py
    M src/RestrictedPython/tests/security_in_syntax.py
    M src/RestrictedPython/transformer.py
    A tests/__init__.py
    A tests/test_compile.py
    M tests/test_transformer.py
    M tox.ini

  Log Message:
  -----------
  Merge branch 'Python3_update' into python3_usage_documentation


Compare: https://github.com/zopefoundation/RestrictedPython/compare/77365bf7dd15...4d6d21c0259f


More information about the checkins mailing list