https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: eb60bf5d7f12b373aebd3e824056110a2b0ee411 authored by Nicolas Dandrimont on 30 October 2019, 14:08:05 UTC
Revert "deposit.signals: Scheduler load-deposit task with new endpoints"
Tip revision: eb60bf5
tox.ini
[tox]
envlist=flake8,py3

[testenv:py3]
deps =
  # the dependency below is needed for now as a workaround for
  #   https://github.com/pypa/pip/issues/6239
  swh.core[http] >= 0.0.75
  .[testing]
  pytest-cov
  pifpaf
commands =
  pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch \
      {envsitepackagesdir}/swh/deposit \
      {posargs}

[testenv:py3-dev]
deps =
  swh.core[http] >= 0.0.75
  .[testing]
  ipdb
commands =
  pytest {envsitepackagesdir}/swh/deposit/ {posargs}

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8 \
    --exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations
back to top