def test_start(self): ''' Tests if it start the named service. ''' with patch.dict(supervisord.__salt__, {'cmd.run_all': self._m_all(), 'cmd.which_bin': self._m_bin()}): self.assertTrue(supervisord.start())
def test_start(self): """ Tests if it start the named service. """ with patch.dict( supervisord.__salt__, {"cmd.run_all": self._m_all(), "cmd.which_bin": self._m_bin()}, ): self.assertTrue(supervisord.start())