summaryrefslogtreecommitdiff
path: root/_pytest/pastebin.py
AgeCommit message (Collapse)Author
2014-10-22Fixing --pastebin option by using a POST request instead of a XMLRPC callBruno Oliveira
fixes #614 --HG-- branch : fix-pastebin
2014-10-08remove all occurences of "__multicall__" on hook impls in pytest/*.holger krekel
also simplify pytest_runtest_markereport hook in _pytest/skipping.py while touching the code anyway.
2013-07-25moving from optparse to argparse. Major difficulty isAnthon van der Neut
that argparse does not have Option objects -> added class Argument Needed explicit call of MyOptionParser.format_epilog as argparse does not have that. The parse_arg epilog argument wraps the text, which is not the same (could be handled with a special formatter). - parser.parse() now returns single argument (with positional args in .file_or_dir) - "file_or_dir" made a class variable Config._file_or_dir and used in help and tests - added code for argcomplete (because of which this all started!) addoption: - if option type is a string ('int' or 'string', this converted to int resp. str - if option type is 'count' this is changed to the type of choices[0] testing: - added tests for Argument - test_mark.test_keyword_extra split as ['-k', '-mykeyword'] generates argparse error test split in two and one marked as fail - testing hints, multiline and more strickt (for if someone moves format_epilog to epilog argument of parse_args without Formatter) - test for destination derived from long option with internal dash - renamed second test_parseopt.test_parse() to test_parse2 as it was not tested at all (the first was tested.) --HG-- branch : argparse
2012-05-19fix help string for --pasteholger krekel
2012-05-08switch pastebin to bpaste.net, fixes #141Ronny Pfannschmidt
2011-11-14test and fix pastebin xmlrpc import name missmatch, fixes #87Ronny Pfannschmidt
2010-11-13flat is better than nested (cont'd):holger krekel
- pytest.py is new module, making "python -m pytest" work always - _pytest/*.py now contains core.py, hookspec and the plugins, no sub packages