Skip to content

Commit 86693ef

Browse files
authored
Fix linter
1 parent ca74c1d commit 86693ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/modules/test_schedule.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def test_modify(self):
409409
'changes': {},
410410
'result': False}
411411

412-
with patch.dict(schedule.__opts__, {'schedule': {'job1': job1}, 'sock_dir': SOCK_DIR}):
412+
with patch.dict(schedule.__opts__, {'schedule': {'job1': job1}, 'sock_dir': self.sock_dir}):
413413
mock = MagicMock(return_value=True)
414414
with patch.dict(schedule.__salt__, {'event.fire': mock}):
415415
_ret_value = {'complete': True, 'schedule': {'job1': job1}}

0 commit comments

Comments
 (0)