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
commit a125df991b
30 changed files with 7 additions and 7 deletions

View file

@ -0,0 +1,13 @@
from borgmatic.commands import generate_config as module
def test_parse_arguments_with_no_arguments_uses_defaults():
parser = module.parse_arguments()
assert parser.destination_filename == module.DEFAULT_DESTINATION_CONFIG_FILENAME
def test_parse_arguments_with_filename_argument_overrides_defaults():
parser = module.parse_arguments('--destination', 'config.yaml')
assert parser.destination_filename == 'config.yaml'