Skip to content

Commit

Permalink
remove integration tests for azure
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsier committed Dec 28, 2020
1 parent 314b94c commit fb519de
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 363 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ matrix:
fast_finish: true
include:
- env: TOXENV=flake8
- python: 3.5
env: TOXENV=integration
- python: 3.5
env: TOXENV=py35-django22
- python: 3.6
Expand Down
Empty file removed tests/integration/__init__.py
Empty file.
21 changes: 0 additions & 21 deletions tests/integration/migrations/0001_initial.py

This file was deleted.

Empty file.
6 changes: 0 additions & 6 deletions tests/integration/models.py

This file was deleted.

28 changes: 0 additions & 28 deletions tests/integration/settings.py

This file was deleted.

286 changes: 0 additions & 286 deletions tests/integration/test_azure.py

This file was deleted.

21 changes: 1 addition & 20 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ envlist =
py{36,37,38,39}-django30
py{36,37,38,39}-django31
py{36,37,38,39}-djangomaster
integration
flake8

[testenv]
setenv =
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONWARNINGS = always
PYTHONDONTWRITEBYTECODE = 1
commands = pytest --cov=storages --ignore=tests/integration/ tests/ {posargs}
commands = pytest --cov=storages tests/ {posargs}
deps =
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
Expand All @@ -31,24 +30,6 @@ extras =
libcloud
sftp

[testenv:integration]
ignore_errors = True
whitelist_externals =
docker
commands =
docker pull arafato/azurite
docker run --name azure-storage -d -t -p 10000:10000 -p 10001:10001 -p 10002:10002 arafato/azurite
pytest tests/integration/
docker stop azure-storage
docker rm azure-storage
setenv =
PYTHONDONTWRITEBYTECODE = 1
DJANGO_SETTINGS_MODULE = tests.integration.settings
deps =
pytest-django
extras =
azure

[testenv:flake8]
deps =
flake8
Expand Down

0 comments on commit fb519de

Please sign in to comment.