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

This commit is contained in:
Dan Helfman 2018-09-30 13:57:20 -07:00
parent f9a9b42c58
commit a125df991b
30 changed files with 7 additions and 7 deletions

View file

@ -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):

View file

@ -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():

View file

@ -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):

View file

@ -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):

View file

@ -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):

View file

@ -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):

View file

@ -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 .