예제 #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())