You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
416 B
12 lines
416 B
import pytest
|
|
from pathlib import Path
|
|
|
|
from tibi_hardlinks.backup_parser import read_backup_properties
|
|
from tibi_hardlinks.backups import find_backup_data, Backup
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"property_filepath", Path("../test_data/mock_backup_data").glob("*.properties")
|
|
)
|
|
def test_find_backup_data_on_files(property_filepath):
|
|
find_backup_data(property_filepath, read_backup_properties(property_filepath))
|