def METHOD_NAME(self):
    """
    Test scan_for_tests with tox.ini in the files list, should add several
    build requirements
    """
    reqs = buildreq.Requirements("")
    conf = config.Config("")
    tcontent = tarball.Content("", "", "", [], conf, "")
    listdir_backup = os.listdir
    check.os.listdir = mock_generator(['tox.ini'])
    check.scan_for_tests('pkgdir', conf, reqs, tcontent)
    check.os.listdir = listdir_backup
    self.assertEqual(reqs.buildreqs,
                     set(['pypi-tox',
                          'pypi-pytest',
                          'pypi-virtualenv',
                          'pypi-pluggy',
                          'pypi(py)']))