Пример #1
0
 def test_status_raw(self):
     '''
     Tests if it display the raw output of status
     '''
     with patch.dict(supervisord.__salt__, {'cmd.run_all': self._m_all(),
                                            'cmd.which_bin': self._m_bin()}):
         self.assertTrue(supervisord.status_raw())
Пример #2
0
 def test_status_raw(self):
     '''
     Tests if it display the raw output of status
     '''
     with patch.dict(supervisord.__salt__, {'cmd.run_all': self._m_all(),
                                            'cmd.which_bin': self._m_bin()}):
         self.assertTrue(supervisord.status_raw())
Пример #3
0
 def test_status_raw(self):
     """
     Tests if it display the raw output of status
     """
     with patch.dict(
         supervisord.__salt__,
         {"cmd.run_all": self._m_all(), "cmd.which_bin": self._m_bin()},
     ):
         self.assertTrue(supervisord.status_raw())