Пример #1
0
 def test_opHaltStatus(self):
     from pyEX import opHaltStatus
     with patch('requests.get') as mock:
         mock.return_value = MagicMock()
         mock.return_value.status_code = 200
         opHaltStatus()
         opHaltStatus('test')
Пример #2
0
 def test_opHaltStatus(self):
     from pyEX import opHaltStatus
     opHaltStatus(C)