method: test.Config.addoptions

 add a named group of options to the current testing session. 
            This function gets invoked during testing session initialization. 
        
    def addoptions(cls, groupname, *specs): 

origin: type

where:

function source:

def addoptions(cls, groupname, *specs): 
    """ add a named group of options to the current testing session. 
            This function gets invoked during testing session initialization. 
        """ 
    parser = cls._config._parser 
    optgroup = optparse.OptionGroup(parser, groupname) 
    optgroup.add_options(specs) 
    parser.add_option_group(optgroup)
    for opt in specs: 
        if hasattr(opt, 'default') and opt.dest:
            setattr(cls._config.option, opt.dest, opt.default) 
    return cls._config.option 

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.0

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.1

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.2

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.3

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.4

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.5

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.6

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.7

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.8

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.9

called in /home/johnny/projects/merlinux/pypy-dist/pypy/conftest.py

traceback test.Config.addoptions.10

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.11

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.12

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.13

called in /tmp/pytest-418/docdoctest/conftest.py

traceback test.Config.addoptions.14

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.15

called in /home/johnny/projects/merlinux/pypy-dist/pypy/translator/cli/conftest.py

traceback test.Config.addoptions.16

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.17

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.18

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.19

called in /home/johnny/projects/merlinux/py/dist/py/test/defaultconftest.py

traceback test.Config.addoptions.20