| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # tests/test_connectivity.py |
||
| 31 | @pytest.mark.con |
||
| 32 | def test_wikipedia_connectivity(request_random_wiki_article): |
||
| 33 | """Try reaching the wikipedia site to get a random article.""" |
||
| 34 | # pylint: disable=redefined-outer-name |
||
| 35 | # disabled here, sind redefinition is how fixtures work |
||
| 36 | |||
| 37 | answer = request_random_wiki_article |
||
| 38 | print(answer) |
||
| 39 | assert "Error" not in answer |
||
| 40 |