(requests_mock)
| 4 | |
| 5 | |
| 6 | def test_root(requests_mock): |
| 7 | api = BlockFrostApi() |
| 8 | mock_data = { |
| 9 | "url": "https://blockfrost.io/", |
| 10 | "version": "0.1.0" |
| 11 | } |
| 12 | requests_mock.get(api.url + '/', json=mock_data) |
| 13 | assert api.root() == convert_json_to_object(mock_data) |
| 14 | |
| 15 | |
| 16 | def test_integration_root(): |
nothing calls this directly
no test coverage detected