./devel/py-unittest2pytest, Tool to rewrite Python unittest into pytest test cases

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.4nb2, Package name: py310-unittest2pytest-0.4nb2, Maintainer: minskim

unittest2pytest is a tool that helps rewriting Python unittest
test-cases into pytest test-cases. In contrast to other similar tools,
this handles keyword arguments, handles single-line test-cases and
several tests on one line, and uses context-handlers where
appropriate. This is done by using lib2to3 and Python's mighty
inspect module.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 34.634 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2019-08-21 14:51:18 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-unittest2pytest: updated to 0.4

0.4:
* Add support for assertDictContainsSubset.
* Put parenthesis around expressions if required.
* Fixed assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex.
  The regex was getting replaced with an undefined variable pattern.
* Fix assertRaisesRegex and assertRaisesRegexp with **kwargs and
  atom parameters.
* Made assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex use
  the match kwarg in pytest.raises instead of creating a variable
  with the context manager and doing an assert on re.search.
* Add a short developer guide.
* Remove testing on Python 3.0, 3.1, 3.2, add 3.6 and 3.7.
* Distribute package as a universal wheel.
   2018-02-25 01:22:53 by Min Sik Kim | Files touched by this commit (5)
Log message:
devel/py-unittest2pytest: Import version 0.3

unittest2pytest is a tool that helps rewriting Python unittest
test-cases into pytest test-cases. In contrast to other similar tools,
this handles keyword arguments, handles single-line test-cases and
several tests on one line, and uses context-handlers where
appropriate.  This is done by using lib2to3 and Python's mighty
inspect module.