We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca74c1d commit 86693efCopy full SHA for 86693ef
tests/unit/modules/test_schedule.py
@@ -409,7 +409,7 @@ def test_modify(self):
409
'changes': {},
410
'result': False}
411
412
- with patch.dict(schedule.__opts__, {'schedule': {'job1': job1}, 'sock_dir': SOCK_DIR}):
+ with patch.dict(schedule.__opts__, {'schedule': {'job1': job1}, 'sock_dir': self.sock_dir}):
413
mock = MagicMock(return_value=True)
414
with patch.dict(schedule.__salt__, {'event.fire': mock}):
415
_ret_value = {'complete': True, 'schedule': {'job1': job1}}
0 commit comments