Browse Source

Move tests to the root of the repository, in keeping with more common convention.

end-to-end-database-tests
Dan Helfman 3 years ago
parent
commit
a125df991b
  1. 0
      tests/__init__.py
  2. 0
      tests/integration/__init__.py
  3. 0
      tests/integration/commands/__init__.py
  4. 0
      tests/integration/commands/test_borgmatic.py
  5. 0
      tests/integration/commands/test_convert_config.py
  6. 0
      tests/integration/commands/test_generate_config.py
  7. 0
      tests/integration/config/__init__.py
  8. 0
      tests/integration/config/test_generate.py
  9. 0
      tests/integration/config/test_legacy.py
  10. 0
      tests/integration/config/test_validate.py
  11. 0
      tests/integration/test_version.py
  12. 0
      tests/unit/__init__.py
  13. 0
      tests/unit/borg/__init__.py
  14. 2
      tests/unit/borg/test_check.py
  15. 2
      tests/unit/borg/test_create.py
  16. 2
      tests/unit/borg/test_extract.py
  17. 0
      tests/unit/borg/test_hook.py
  18. 2
      tests/unit/borg/test_info.py
  19. 2
      tests/unit/borg/test_list.py
  20. 2
      tests/unit/borg/test_prune.py
  21. 0
      tests/unit/commands/__init__.py
  22. 0
      tests/unit/commands/test_borgmatic.py
  23. 0
      tests/unit/config/__init__.py
  24. 0
      tests/unit/config/test_collect.py
  25. 0
      tests/unit/config/test_convert.py
  26. 0
      tests/unit/config/test_generate.py
  27. 0
      tests/unit/config/test_legacy.py
  28. 0
      tests/unit/config/test_validate.py
  29. 0
      tests/unit/test_verbosity.py
  30. 2
      tox.ini

0
borgmatic/tests/__init__.py → tests/__init__.py

0
borgmatic/tests/integration/__init__.py → tests/integration/__init__.py

0
borgmatic/tests/integration/commands/__init__.py → tests/integration/commands/__init__.py

0
borgmatic/tests/integration/commands/test_borgmatic.py → tests/integration/commands/test_borgmatic.py

0
borgmatic/tests/integration/commands/test_convert_config.py → tests/integration/commands/test_convert_config.py

0
borgmatic/tests/integration/commands/test_generate_config.py → tests/integration/commands/test_generate_config.py

0
borgmatic/tests/integration/config/__init__.py → tests/integration/config/__init__.py

0
borgmatic/tests/integration/config/test_generate.py → tests/integration/config/test_generate.py

0
borgmatic/tests/integration/config/test_legacy.py → tests/integration/config/test_legacy.py

0
borgmatic/tests/integration/config/test_validate.py → tests/integration/config/test_validate.py

0
borgmatic/tests/integration/test_version.py → tests/integration/test_version.py

0
borgmatic/tests/unit/__init__.py → tests/unit/__init__.py

0
borgmatic/tests/unit/borg/__init__.py → tests/unit/borg/__init__.py

2
borgmatic/tests/unit/borg/test_check.py → tests/unit/borg/test_check.py

@ -6,7 +6,7 @@ from flexmock import flexmock
import pytest
from borgmatic.borg import check as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def insert_subprocess_mock(check_call_command, **kwargs):

2
borgmatic/tests/unit/borg/test_create.py → tests/unit/borg/test_create.py

@ -4,7 +4,7 @@ import os
from flexmock import flexmock
from borgmatic.borg import create as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def test_initialize_environment_with_passcommand_should_set_environment():

2
borgmatic/tests/unit/borg/test_extract.py → tests/unit/borg/test_extract.py

@ -4,7 +4,7 @@ import sys
from flexmock import flexmock
from borgmatic.borg import extract as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def insert_subprocess_mock(check_call_command, **kwargs):

0
borgmatic/tests/unit/borg/test_hook.py → tests/unit/borg/test_hook.py

2
borgmatic/tests/unit/borg/test_info.py → tests/unit/borg/test_info.py

@ -3,7 +3,7 @@ import logging
from flexmock import flexmock
from borgmatic.borg import info as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def insert_subprocess_mock(check_call_command, **kwargs):

2
borgmatic/tests/unit/borg/test_list.py → tests/unit/borg/test_list.py

@ -3,7 +3,7 @@ import logging
from flexmock import flexmock
from borgmatic.borg import list as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def insert_subprocess_mock(check_call_command, **kwargs):

2
borgmatic/tests/unit/borg/test_prune.py → tests/unit/borg/test_prune.py

@ -4,7 +4,7 @@ from collections import OrderedDict
from flexmock import flexmock
from borgmatic.borg import prune as module
from borgmatic.tests.unit.test_verbosity import insert_logging_mock
from ..test_verbosity import insert_logging_mock
def insert_subprocess_mock(check_call_command, **kwargs):

0
borgmatic/tests/unit/commands/__init__.py → tests/unit/commands/__init__.py

0
borgmatic/tests/unit/commands/test_borgmatic.py → tests/unit/commands/test_borgmatic.py

0
borgmatic/tests/unit/config/__init__.py → tests/unit/config/__init__.py

0
borgmatic/tests/unit/config/test_collect.py → tests/unit/config/test_collect.py

0
borgmatic/tests/unit/config/test_convert.py → tests/unit/config/test_convert.py

0
borgmatic/tests/unit/config/test_generate.py → tests/unit/config/test_generate.py

0
borgmatic/tests/unit/config/test_legacy.py → tests/unit/config/test_legacy.py

0
borgmatic/tests/unit/config/test_validate.py → tests/unit/config/test_validate.py

0
borgmatic/tests/unit/test_verbosity.py → tests/unit/test_verbosity.py

2
tox.ini

@ -6,7 +6,7 @@ skipsdist=True
usedevelop=True
deps=-rtest_requirements.txt
commands =
py.test --cov-report term-missing:skip-covered --cov=borgmatic borgmatic []
py.test --cov-report term-missing:skip-covered --cov=borgmatic tests []
black --skip-string-normalization --line-length 100 --check .
flake8 .

Loading…
Cancel
Save