| Conditions | 4 |
| Total Lines | 11 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from yfrake import client |
||
| 35 | def test_client_response_3(): |
||
| 36 | @client.session |
||
| 37 | def inner(): |
||
| 38 | resp = client.get(endpoint='quote_type', symbol='msft') |
||
| 39 | resp.wait() |
||
| 40 | for attr in ['event', 'future']: |
||
| 41 | with pytest.raises(TypeError): |
||
| 42 | setattr(resp, attr, str()) |
||
| 43 | with pytest.raises(TypeError): |
||
| 44 | delattr(resp, attr) |
||
| 45 | inner() |
||
| 46 |