Example #1
0
 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'))
Example #2
0
 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'))
Example #3
0
 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"))