[Checkins] [zopefoundation/zope.tal] 5591e0: Drop test-module-as-script boilerplate.

GitHub noreply at github.com
Sun Feb 22 18:05:46 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.tal
  Commit: 5591e017aabbdf41dbd802d64d52a37d3d6135fa
      https://github.com/zopefoundation/zope.tal/commit/5591e017aabbdf41dbd802d64d52a37d3d6135fa
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-02-22 (Sun, 22 Feb 2015)

  Changed paths:
    M src/zope/tal/tests/test_files.py
    M src/zope/tal/tests/test_htmltalparser.py
    M src/zope/tal/tests/test_sourcepos.py
    M src/zope/tal/tests/test_talgettext.py
    M src/zope/tal/tests/test_talinterpreter.py
    M src/zope/tal/tests/test_xmlparser.py

  Log Message:
  -----------
  Drop test-module-as-script boilerplate.


  Commit: 136d786738f313d4b6ea6d17dbe3ffb9ddd70b21
      https://github.com/zopefoundation/zope.tal/commit/136d786738f313d4b6ea6d17dbe3ffb9ddd70b21
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-02-22 (Sun, 22 Feb 2015)

  Changed paths:
    M src/zope/tal/tests/test_htmltalparser.py
    M src/zope/tal/tests/test_talgettext.py
    M src/zope/tal/tests/test_talinterpreter.py

  Log Message:
  -----------
  Normalize suite construction.


  Commit: 6ae3f33a795c6ac7e1e7266c03aa8e2f6aaf5a3b
      https://github.com/zopefoundation/zope.tal/commit/6ae3f33a795c6ac7e1e7266c03aa8e2f6aaf5a3b
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-02-22 (Sun, 22 Feb 2015)

  Changed paths:
    M src/zope/tal/tests/test_files.py
    M src/zope/tal/tests/test_talinterpreter.py

  Log Message:
  -----------
  Hide non-directly-runnable testcase class from nose.


  Commit: 894f3a1e5a011090770baa7953e8aaaf26af7352
      https://github.com/zopefoundation/zope.tal/commit/894f3a1e5a011090770baa7953e8aaaf26af7352
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-02-22 (Sun, 22 Feb 2015)

  Changed paths:
    M src/zope/tal/tests/test_files.py

  Log Message:
  -----------
  Make 'test_files' nose-compatible.

- Don't use a testcase class w/ non-standard '__init__';  instead,
  synthesize testcases from files using 'unittest.FunctionTestCase'.

- Use a generator to return synthesized tests to nose (since it doesn't
  know from zope.testrunners' 'test_suite()' convention.


  Commit: 4b03c85d364b981ba96a1af2cc48edc131c06c16
      https://github.com/zopefoundation/zope.tal/commit/4b03c85d364b981ba96a1af2cc48edc131c06c16
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2015-02-22 (Sun, 22 Feb 2015)

  Changed paths:
    M src/zope/tal/runtest.py
    M src/zope/tal/tests/test_files.py

  Log Message:
  -----------
  Don't require scribbling on 'sys' to use 'runtest'.

Allow passing in 'argv' and 'out' from caller.


Compare: https://github.com/zopefoundation/zope.tal/compare/755c2e01afec...4b03c85d364b


More information about the checkins mailing list