'load initial conftest files given a preparsed "namespace".
As conftest files may add their own command line options
which have arguments (\'--my-opt somepath\') we might get some
false positives.  All builtin and 3rd party plugins will have
been loaded, however, so common options will not confuse our logic
here.'

def _set_initial_conftests(self, namespace):

    current = py.path.local()
    self._confcutdir = (current.join(namespace.confcutdir, abs=True) if namespace.confcutdir else None)
    self._noconftest = namespace.noconftest
    testpaths = namespace.file_or_dir
    foundanchor = False
    for path in testpaths:
        path = str(path)
        i = path.find('::')
        if (i != (-1)):
            path = path[:i]
        anchor = current.join(path, abs=1)
        if exists(anchor):
            self._try_load_conftest(anchor)
            foundanchor = True
    if (not foundanchor):
        self._try_load_conftest(current)
