Skip to content

Instantly share code, notes, and snippets.

@saintsGrad15
Created November 22, 2019 15:44
Show Gist options
  • Select an option

  • Save saintsGrad15/34957dd24d9ea215eb636dfaf38064f9 to your computer and use it in GitHub Desktop.

Select an option

Save saintsGrad15/34957dd24d9ea215eb636dfaf38064f9 to your computer and use it in GitHub Desktop.
Basic tox.ini setup
[tox]
envlist = py27
[testenv]
install_command=pip install --extra-index-url=http://pypi.ad.cleversafe.com/simple/ --trusted-host=pypi.ad.cleversafe.com {opts} {packages}
# Allows running e.g. `tox -e DCC`
# Otherwise include commands in [testenv]
# NOTE: -s can be run pointed at a directory and it will run all modules inside
[testenv:DCC]
commands = {envpython} setup.py test -s automation.tests.test_dashboard_config_consumer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment