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')
def test_opHaltStatus(self): from pyEX import opHaltStatus opHaltStatus(C)