| Total Complexity | 5 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from org_fedora_oscap import data_fetch |
||
| 2 | |||
| 3 | |||
| 4 | def test_supported_url(): |
||
| 5 | assert data_fetch.can_fetch_from("http://example.com") |
||
| 6 | assert data_fetch.can_fetch_from("https://example.com") |
||
| 7 | |||
| 8 | |||
| 9 | def test_unsupported_url(): |
||
| 10 | assert not data_fetch.can_fetch_from("aaaaa") |
||
| 11 |