aboutsummaryrefslogtreecommitdiffstats
path: root/functest
AgeCommit message (Expand)AuthorFilesLines
2017-09-13Disable urllib3 warningsLinda Wang5-4/+9
2017-09-12Merge "Fix some errors about getting tiers resources"Jose Lausuch1-6/+8
2017-09-12Merge "set marketplace port to 8080 for NFVO"Morgan Richomme2-4/+8
2017
[tox]
envlist = docs,pep8,pylint,py35,py27,perm

[testenv]
usedevelop = True
deps =
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/test-requirements.txt
install_command = pip install \
  -c{toxinidir}/upper-constraints.txt \
  -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata \
  {opts} {packages}
commands = nosetests --with-xunit \
  --with-coverage \
  --cover-tests \
  --cover-package=functest \
  --cover-xml \
  --cover-html \
  functest/tests/unit

[testenv:docs]
basepython = python2.7
commands = sphinx-build -W -b html api/ api/_build

[testenv:pep8]
basepython = python2.7
commands = flake8

[testenv:pylint]
basepython = python2.7
whitelist_externals = bash
modules =
  functest.core
  functest.opnfv_tests.sdn.odl
  functest.tests.unit.core
  functest.tests.unit.odl
  functest.tests.unit.utils.test_decorators
  functest.utils.decorators
commands =
  bash -c "\
    pylint -f parseable --disable=locally-disabled functest | \
    tee pylint.out | sed -ne '/Raw metrics/,//p'"
  pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}

[testenv:py35]
dirs =
  functest/tests/unit/core
  functest/tests/unit/odl
  functest/tests/unit/utils/test_decorators.py
commands = nosetests {[testenv:py35]dirs}

[testenv:perm]
basepython = python2.7
whitelist_externals = bash
path=. -not -path './.tox/*' -not -path './.git/*' -not -path './docs/com/pres/reveal.js/*'
commands =
  bash -c "\
    find {[testenv:perm]path} \( -type f -not -perm 644 -o -type d -not -perm 755 \) \
    -exec ls -l \{\} + | grep '.' && exit 1 || exit 0"
  bash -c "\
    find {[testenv:perm]path} -exec file \{\} + | grep CRLF && exit 1 || exit 0"
+0000'>2017-09-07Merge "Use custom images and flavors for aarch64"Morgan Richomme1-1/+2 2017-09-07Merge "Unify the key as testcase in result"Cedric Ollivier1-3/+3 2017-09-07Merge "Fix creds used by vrouter"Cedric Ollivier1-12/+4 2017-09-07[Fuel/MCP] Set opendaylight web/restconf portsMichael Polenchuk2-2/+4 2017-09-07Use custom images and flavors for aarch64Delia Popescu1-1/+2 2017-09-07Unify the key as testcase in resultLinda Wang1-3/+3 2017-09-07Merge "Integrate doctor-test package"Cedric Ollivier2-2/+1 2017-09-07Remove redundant tempest cleanup utilityLinda Wang4-145/+5 2017-09-07Fix creds used by vrouterAlex Yang1-12/+4 2017-09-06Merge "Create VNF user with admin role"Morgan Richomme1-6/+8 2017-09-06Integrate doctor-test packagedongwenjuan2-2/+1 2017-09-06Merge "Integrate new Domino package"Cedric Ollivier1-1/+1 2017-09-06Merge "Add UEFI support in functest"Morgan Richomme3-6/+25 2017-09-06Create VNF user with admin roleAlex Yang1-6/+8 2017-09-05unify all the return status as numberLinda Wang3-10/+31 2017-09-05Merge "Stop downloading openbaton image."Cedric Ollivier2-1/+2 2017-09-05Merge "Create results/tempest dir for refstack config"Cedric Ollivier2-1/+17 2017-09-05Stop downloading openbaton image.Cédric Ollivier2-1/+2 2017-09-05Merge "Enable tempest multinode tests"valentin boucher4-6/+40 2017-09-05Merge "Launch Functest RestApi once the container is run"valentin boucher1-4/+5 2017-09-05Integrate new Domino packageCédric Ollivier1-1/+1 2017-09-05Create results/tempest dir for refstack configLinda Wang2-1/+17 2017-09-05Fix the cloudify_ims update quotas errorLinda Wang2-6/+5 2017-09-05Delete some unittest which block the verify jobAlex Yang1-72/+0 2017-09-04Merge "More support of snaps for VNF"Morgan Richomme9-454/+119 2017-09-04Merge "Fix get_port_by_name in ims testcases"Cedric Ollivier2-4/+6 2017-09-04More support of snaps for VNFboucherv9-454/+119 2017-09-04Remove get_repo_tagJuha Kosonen2-22/+0 2017-09-04Blacklist CeilometerTraits testsJuha Kosonen1-0/+1 2017-09-03Fix get_port_by_name in ims testcasesAlex Yang2-4/+6