test_ok2/testing
Anthon van der Neut 87860600fb Fixes for argcomplete
- separate out most argcomplete related stuff in new file _argcomplete.py
  (could probably be in the py library)
- allow positional arguments to be interspaced with optional arguments
  ( + test in test_parseopt.py )
- removed double argument in tox.ini
- add documentation on installing argcomplete (>=0.5.7 as needed for
  Python 3), might need improving/incorporation in index.

This does not work on 2.5 yet. I have patches for argcomplete
(with/print()/"".format) but I am not sure they will be accepted.
Agreed with hpk not to push for that.

Removing argcomplete and leaving completion code active now works by early
exit, so <TAB> no longer re-runs the programs without parameters
(which took long for py.test)

test calls bash with a script that redirects filedescriptor 8 (as used by
argcomplete), so the result can be tested.

--HG--
branch : argcomplete
2013-07-30 11:26:15 +02:00
..
python SO-17664702: call fixture finalizers even if the fixture function 2013-07-17 10:29:11 +02:00
acceptance_test.py - add release announce 2013-03-28 10:21:03 +01:00
conftest.py be more liberal with respect to lsof checks because jenkins keeps some files open 2013-07-29 15:39:24 +02:00
test_assertinterpret.py fix a import strange loop that affects pypy test appsupport on python2.5 2012-04-13 12:41:02 +02:00
test_assertion.py fix recursion within import hook and source.decode in particular 2013-04-30 12:05:58 +02:00
test_assertrewrite.py reindent a few of the blockquotes in these tests 2013-06-07 17:30:10 -04:00
test_capture.py add a test for issue 14 that will xfail on python < 2.7 2013-03-25 08:53:08 +01:00
test_collection.py refine lsof/FD leakage testing and rework test setup and some of pytest own tests. Note that the actual diff to non-test code is small. Also remove some redundant tests (introduced by a copy-paste-error apparently in test_mark.py). 2011-11-07 18:08:41 +00:00
test_config.py don't run long-args test on windows because it can't work 2012-11-20 11:52:06 +01:00
test_conftest.py remove unnecessary print 2013-07-06 10:26:14 +02:00
test_core.py improve PYTEST_DEBUG tracing output 2012-11-29 10:04:39 +01:00
test_doctest.py zero to many doctests from module instead of one 2013-05-17 12:18:22 -03:00
test_fixture_scope.py re #320 fallback to test scope if the class-scoped fixture is used in non-class-based test function 2013-07-06 21:30:24 +02:00
test_genscript.py make genscript provide information as to compatibility 2013-07-26 08:59:31 +02:00
test_helpconfig.py fix test after ronny's pytest-debug improvements 2012-12-04 20:31:37 +01:00
test_junitxml.py Implemented a test for xml control character fail. 2013-05-09 21:16:57 +02:00
test_mark.py moving from optparse to argparse. Major difficulty is 2013-07-25 15:33:43 +02:00
test_monkeypatch.py fixes issue 156: monkeypatch class level descriptors 2012-09-25 18:15:13 +02:00
test_nose.py slightly improve -k help string 2013-04-16 09:04:05 +02:00
test_parseopt.py Fixes for argcomplete 2013-07-30 11:26:15 +02:00
test_pastebin.py test and fix pastebin xmlrpc import name missmatch, fixes #87 2011-11-14 17:51:12 +01:00
test_pdb.py fix bug where using capsys with pytest.set_trace() in a test 2012-11-21 20:43:31 +01:00
test_pytester.py fix issue 182: testdir.inprocess_run now considers passed plugins 2012-09-03 10:12:30 +02:00
test_recwarn.py streamline docs, especially use "import pytest" and "pytest.*" in python code examples instead of "import py" and "py.test.*". 2010-11-17 22:12:16 +01:00
test_resultlog.py fix issue99 - internalerror with --resultlog now produce better output. 2011-12-10 08:49:21 +00:00
test_runner.py py3 fixes 2013-02-04 16:07:51 +01:00
test_runner_xunit.py make test name shorter, so its testdir path isn't too long on windows 2011-07-07 09:43:39 -05:00
test_session.py make sessionfinish hooks execute with the same cwd-context as at 2013-06-10 10:09:28 +02:00
test_skipping.py fixes for py25 in test_skipping 2013-07-11 11:15:31 +02:00
test_terminal.py merge 2013-07-06 15:54:33 +02:00
test_tmpdir.py allow re-running of a test item (as exercised by the 2013-04-22 10:35:48 +02:00
test_unittest.py change how the test is called 2013-06-22 09:42:31 -07:00