We need one more mocked return from listdir.

This commit is contained in:
C. R. Oldham 2016-02-21 21:55:08 -07:00 committed by rallytime
parent 7a8ab2fc03
commit db7b675b09

View File

@ -148,6 +148,7 @@ class SystemdTestCase(TestCase):
listdir_mock = MagicMock(side_effect=[
['foo.service', 'multi-user.target.wants', 'mytimer.timer'],
['foo.service', 'multi-user.target.wants', 'bar.service'],
['mysql', 'nginx', 'README'],
['mysql', 'nginx', 'README']
])
access_mock = MagicMock(