rpmlint/test/mockdata/mock_build_date.py

11 lines
251 B
Python

from Testing import get_tested_mock_package
BuildDatePackage = get_tested_mock_package(
lazyload=True,
files={
'/bin/with-date': {'content': 'Jan 1 2019'},
'/bin/with-datetime': {'content': 'Jan 1 2019 12:15:11'},
},
)