def test_securityEvent(self):
     from pyEX import securityEvent
     with patch('requests.get') as mock:
         mock.return_value = MagicMock()
         mock.return_value.status_code = 200
         securityEvent()
         securityEvent('test')
Example #2
0
 def test_securityEvent(self):
     from pyEX import securityEvent
     securityEvent(C)