Skip to content
Permalink
Browse files

add internal nose2 (not available on precise) and update internal six

for processing tests
  • Loading branch information
jef-n committed Feb 6, 2016
1 parent 8cdd723 commit 1ae03be59b0dba3b67886c33b25669917aa0aa97
Showing with 11,266 additions and 59 deletions.
  1. +2 −0 debian/control.in
  2. +7 −1 debian/rules
  3. +1 −1 python/ext-libs/CMakeLists.txt
  4. +75 −0 python/ext-libs/nose2-0.5.0.egg-info/PKG-INFO
  5. 0 python/ext-libs/{six-1.7.3-py2.7.egg-info → nose2-0.5.0.egg-info}/dependency_links.txt
  6. +4 −0 python/ext-libs/nose2-0.5.0.egg-info/entry_points.txt
  7. +3 −0 python/ext-libs/nose2-0.5.0.egg-info/requires.txt
  8. +1 −0 python/ext-libs/nose2-0.5.0.egg-info/top_level.txt
  9. +1 −0 python/ext-libs/nose2/__init__.py
  10. +12 −0 python/ext-libs/nose2/__main__.py
  11. 0 python/ext-libs/nose2/backports/__init__.py
  12. +264 −0 python/ext-libs/nose2/backports/ordereddict.py
  13. +30 −0 python/ext-libs/nose2/collector.py
  14. +37 −0 python/ext-libs/nose2/compat.py
  15. +79 −0 python/ext-libs/nose2/config.py
  16. +1,134 −0 python/ext-libs/nose2/events.py
  17. +10 −0 python/ext-libs/nose2/exceptions.py
  18. +123 −0 python/ext-libs/nose2/loader.py
  19. +300 −0 python/ext-libs/nose2/main.py
  20. 0 python/ext-libs/nose2/plugins/__init__.py
  21. +154 −0 python/ext-libs/nose2/plugins/attrib.py
  22. +137 −0 python/ext-libs/nose2/plugins/buffer.py
  23. +44 −0 python/ext-libs/nose2/plugins/collect.py
  24. +89 −0 python/ext-libs/nose2/plugins/coverage.py
  25. +60 −0 python/ext-libs/nose2/plugins/debugger.py
  26. +58 −0 python/ext-libs/nose2/plugins/doctests.py
  27. +30 −0 python/ext-libs/nose2/plugins/dundertest.py
  28. +25 −0 python/ext-libs/nose2/plugins/failfast.py
  29. +209 −0 python/ext-libs/nose2/plugins/junitxml.py
  30. +179 −0 python/ext-libs/nose2/plugins/layers.py
  31. 0 python/ext-libs/nose2/plugins/loader/__init__.py
  32. +250 −0 python/ext-libs/nose2/plugins/loader/discovery.py
  33. +79 −0 python/ext-libs/nose2/plugins/loader/eggdiscovery.py
  34. +145 −0 python/ext-libs/nose2/plugins/loader/functions.py
  35. +257 −0 python/ext-libs/nose2/plugins/loader/generators.py
  36. +93 −0 python/ext-libs/nose2/plugins/loader/loadtests.py
  37. +199 −0 python/ext-libs/nose2/plugins/loader/parameters.py
  38. +116 −0 python/ext-libs/nose2/plugins/loader/testcases.py
  39. +237 −0 python/ext-libs/nose2/plugins/loader/testclasses.py
  40. +178 −0 python/ext-libs/nose2/plugins/logcapture.py
  41. +435 −0 python/ext-libs/nose2/plugins/mp.py
  42. +66 −0 python/ext-libs/nose2/plugins/outcomes.py
  43. +68 −0 python/ext-libs/nose2/plugins/printhooks.py
  44. +95 −0 python/ext-libs/nose2/plugins/prof.py
  45. +272 −0 python/ext-libs/nose2/plugins/result.py
  46. +116 −0 python/ext-libs/nose2/plugins/testid.py
  47. +138 −0 python/ext-libs/nose2/result.py
  48. +70 −0 python/ext-libs/nose2/runner.py
  49. +222 −0 python/ext-libs/nose2/session.py
  50. +257 −0 python/ext-libs/nose2/sphinxext.py
  51. +134 −0 python/ext-libs/nose2/suite.py
  52. +1 −0 python/ext-libs/nose2/tests/__init__.py
  53. +260 −0 python/ext-libs/nose2/tests/_common.py
  54. 0 python/ext-libs/nose2/tests/functional/__init__.py
  55. +70 −0 python/ext-libs/nose2/tests/functional/test_attrib_plugin.py
  56. +19 −0 python/ext-libs/nose2/tests/functional/test_collect_plugin.py
  57. +22 −0 python/ext-libs/nose2/tests/functional/test_coverage.py
  58. +17 −0 python/ext-libs/nose2/tests/functional/test_decorators.py
  59. +76 −0 python/ext-libs/nose2/tests/functional/test_discovery_loader.py
  60. +9 −0 python/ext-libs/nose2/tests/functional/test_dundertest_plugin.py
  61. +70 −0 python/ext-libs/nose2/tests/functional/test_eggdiscovery_loader.py
  62. +98 −0 python/ext-libs/nose2/tests/functional/test_junitxml_plugin.py
  63. +122 −0 python/ext-libs/nose2/tests/functional/test_layers_plugin.py
  64. +294 −0 python/ext-libs/nose2/tests/functional/test_loading.py
  65. +31 −0 python/ext-libs/nose2/tests/functional/test_loadtests_plugin.py
  66. +21 −0 python/ext-libs/nose2/tests/functional/test_logcapture_plugin.py
  67. +28 −0 python/ext-libs/nose2/tests/functional/test_main.py
  68. +225 −0 python/ext-libs/nose2/tests/functional/test_mp_plugin.py
  69. +37 −0 python/ext-libs/nose2/tests/functional/test_printhooks_plugin.py
  70. +27 −0 python/ext-libs/nose2/tests/functional/test_session.py
  71. +111 −0 python/ext-libs/nose2/tests/functional/test_such_dsl.py
  72. +9 −0 python/ext-libs/nose2/tests/functional/test_util.py
  73. 0 python/ext-libs/nose2/tests/unit/__init__.py
  74. +68 −0 python/ext-libs/nose2/tests/unit/test_attrib_plugin.py
  75. +71 −0 python/ext-libs/nose2/tests/unit/test_buffer_plugin.py
  76. +16 −0 python/ext-libs/nose2/tests/unit/test_collect_plugin.py
  77. +22 −0 python/ext-libs/nose2/tests/unit/test_collector.py
  78. +30 −0 python/ext-libs/nose2/tests/unit/test_config.py
  79. +93 −0 python/ext-libs/nose2/tests/unit/test_debugger_plugin.py
  80. +34 −0 python/ext-libs/nose2/tests/unit/test_decorators.py
  81. +73 −0 python/ext-libs/nose2/tests/unit/test_doctest_plugin.py
  82. +32 −0 python/ext-libs/nose2/tests/unit/test_dundertest_plugin.py
  83. +59 −0 python/ext-libs/nose2/tests/unit/test_failfast.py
  84. +49 −0 python/ext-libs/nose2/tests/unit/test_functions_loader.py
  85. +84 −0 python/ext-libs/nose2/tests/unit/test_generators_plugin.py
  86. +259 −0 python/ext-libs/nose2/tests/unit/test_junitxml.py
  87. +299 −0 python/ext-libs/nose2/tests/unit/test_layers_plugin.py
  88. +75 −0 python/ext-libs/nose2/tests/unit/test_loader.py
  89. +85 −0 python/ext-libs/nose2/tests/unit/test_logcapture_plugin.py
  90. +60 −0 python/ext-libs/nose2/tests/unit/test_mp_plugin.py
  91. +72 −0 python/ext-libs/nose2/tests/unit/test_outcomes_plugin.py
  92. +167 −0 python/ext-libs/nose2/tests/unit/test_params_plugin.py
  93. +34 −0 python/ext-libs/nose2/tests/unit/test_plugin_api.py
  94. +139 −0 python/ext-libs/nose2/tests/unit/test_printhooks_plugin.py
  95. +29 −0 python/ext-libs/nose2/tests/unit/test_prof_plugin.py
  96. +25 −0 python/ext-libs/nose2/tests/unit/test_result.py
  97. +22 −0 python/ext-libs/nose2/tests/unit/test_session.py
  98. +80 −0 python/ext-libs/nose2/tests/unit/test_testcase_loader.py
  99. +108 −0 python/ext-libs/nose2/tests/unit/test_testclass_loader.py
  100. +125 −0 python/ext-libs/nose2/tests/unit/test_testid_plugin.py
  101. +5 −0 python/ext-libs/nose2/tools/__init__.py
  102. +39 −0 python/ext-libs/nose2/tools/decorators.py
  103. +74 −0 python/ext-libs/nose2/tools/params.py
  104. +421 −0 python/ext-libs/nose2/tools/such.py
  105. +318 −0 python/ext-libs/nose2/util.py
  106. +6 −6 python/ext-libs/{six-1.7.3-py2.7.egg-info → six-1.10.0.egg-info}/PKG-INFO
  107. +1 −0 python/ext-libs/six-1.10.0.egg-info/dependency_links.txt
  108. 0 python/ext-libs/{six-1.7.3-py2.7.egg-info → six-1.10.0.egg-info}/top_level.txt
  109. +0 −15 python/ext-libs/six-1.7.3-py2.7.egg-info/SOURCES.txt
  110. +0 −7 python/ext-libs/six-1.7.3-py2.7.egg-info/installed-files.txt
  111. +150 −29 python/ext-libs/six.py
@@ -38,13 +38,15 @@ Build-Depends:
python-qt4 (>= 4.1.0),
python-qt4-dev,
python-qt4-sql,
python-yaml, python-mock,
#precise saucy wheezy# python,
#precise saucy# python-central (>= 0.5),
#saucy wheezy# python-dev,
#saucy# libpython2.7-dev,
#sid stretch jessie trusty utopic vivid wily# python-all (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~),
#sid stretch jessie wily# pyqt4.qsci-dev,
#sid stretch jessie trusty utopic vivid wily# python-pyspatialite,
#sid wheezy jessie stretch trusty vivid wily# python-nose2,
python-sip (>= 4.5.0),
python-sip-dev (>= 4.5.0),
libosgearth-dev,
@@ -70,7 +70,7 @@ CMAKE_OPTS := \
-DWITH_INTERNAL_PYGMENTS=FALSE \
-DWITH_INTERNAL_DATEUTIL=FALSE \
-DWITH_INTERNAL_PYTZ=FALSE \
-DWITH_INTERNAL_SIX=FALSE \
-DWITH_INTERNAL_YAML=FALSE \
-DQT_TAG_FILE=/usr/share/qt4/doc/html/qt.tags \
-DQT_DOC_URL=/usr/share/qt4/doc/html/

@@ -91,6 +91,12 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEFLAGS += -j$(NUMJOBS)
endif

ifneq (,$(findstring $(DISTRIBUTION),"precise"))
CMAKE_OPTS += -DWITH_INTERNAL_NOSE2=TRUE -DWITH_INTERNAL_SIX=TRUE
else
CMAKE_OPTS += -DWITH_INTERNAL_NOSE2=FALSE -DWITH_INTERNAL_SIX=FALSE
endif

ifneq (,$(findstring $(DISTRIBUTION),"wheezy precise"))
CMAKE_OPTS += -DWITH_PYSPATIALITE=TRUE
endif
@@ -33,7 +33,7 @@ MACRO(EXT_PYLIB lib)
ENDIF(WITH_INTERNAL_${ulib})
ENDMACRO(EXT_PYLIB lib)

FOREACH(pkg httplib2 jinja2 markupsafe owslib pygments dateutil pytz yaml)
FOREACH(pkg httplib2 jinja2 markupsafe owslib pygments dateutil pytz yaml nose2)
EXT_PYLIB(${pkg})
ENDFOREACH(pkg)

@@ -0,0 +1,75 @@
Metadata-Version: 1.1
Name: nose2
Version: 0.5.0
Summary: nose2 is the next generation of nicer testing for Python
Home-page: https://github.com/nose-devs/nose2
Author: Jason Pellerin
Author-email: jpellerin+nose@gmail.com
License: UNKNOWN
Description: .. image:: https://travis-ci.org/nose-devs/nose2.png?branch=master
:target: https://travis-ci.org/nose-devs/nose2
:alt: Build Status

.. image:: https://coveralls.io/repos/nose-devs/nose2/badge.png?branch=master
:target: https://coveralls.io/r/nose-devs/nose2?branch=master
:alt: Coverage Status

.. image:: https://landscape.io/github/nose-devs/nose2/master/landscape.png
:target: https://landscape.io/github/nose-devs/nose2/master
:alt: Code Health

.. image:: https://pypip.in/v/nose2/badge.png
:target: https://crate.io/packages/nose2/
:alt: Latest PyPI version

.. image:: https://pypip.in/d/nose2/badge.png
:target: https://crate.io/packages/nose2/
:alt: Number of PyPI downloads

.. image:: https://www.versioneye.com/user/projects/52037a30632bac57a00257ea/badge.png
:target: https://www.versioneye.com/user/projects/52037a30632bac57a00257ea/
:alt: Dependencies Status

Welcome to nose2
================

nose2 is the next generation of nicer testing for Python, based
on the plugins branch of unittest2. nose2 aims to improve on nose by:

* providing a better plugin api
* being easier for users to configure
* simplifying internal interfaces and processes
* supporting Python 2 and 3 from the same codebase, without translation
* encourging greater community involvement in its development

In service of some those goals, some features of nose *will not* be
supported in nose2. See `differences`_ for a thorough rundown.

In time -- once unittest2 supports plugins -- nose2 should be able to
become just a collection of plugins and configuration defaults. For
now, it provides a plugin api similar to the one in the unittest2
plugins branch, and overrides various unittest2 objects.

You are witnesses at the new birth of nose, mark 2. Hope you enjoy our
new direction!

.. _differences: http://readthedocs.org/docs/nose2/en/latest/differences.html

Keywords: unittest,testing,tests
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
@@ -0,0 +1,4 @@
[console_scripts]
nose2 = nose2:discover
nose2-2.7 = nose2:discover

@@ -0,0 +1,3 @@

[coverage_plugin]
cov-core>=1.12
@@ -0,0 +1 @@
nose2
@@ -0,0 +1 @@
from nose2.main import discover, main
@@ -0,0 +1,12 @@
"""Main entry point"""

import sys
if sys.argv[0].endswith("__main__.py"):
sys.argv[0] = "nose2"

__unittest = True


if __name__ == '__main__':
from nose2 import discover
discover()
No changes.

0 comments on commit 1ae03be

Please sign in to comment.
You can’t perform that action at this time.