3
from udd.scripts import logrotate
6
class TestLogrotate(tests.TestCaseWithConfig):
10
log_conf_path = 'logs/driver/logrotate.conf'
11
self.assertTestPathExists(log_conf_path)
12
with open(log_conf_path) as f:
13
# Checking that the right path have been expanded by relying just
15
self.assertContainsRe(f.read(), self.test_dir)