def test_remove(self): ''' Tests if it removes process/group from active config ''' with patch.dict(supervisord.__salt__, {'cmd.run_all': self._m_all(), 'cmd.which_bin': self._m_bin()}): self.assertTrue(supervisord.remove('salt'))
def test_remove(self): """ Tests if it removes process/group from active config """ with patch.dict( supervisord.__salt__, {"cmd.run_all": self._m_all(), "cmd.which_bin": self._m_bin()}, ): self.assertTrue(supervisord.remove("salt"))