()
| 62 | |
| 63 | @pytest.mark.ok |
| 64 | def test_css_selector(): |
| 65 | r = get() |
| 66 | |
| 67 | about = r.html.find('#about', first=True) |
| 68 | |
| 69 | for menu_item in ( |
| 70 | 'About', 'Applications', 'Quotes', 'Getting Started', 'Help', |
| 71 | 'Python Brochure' |
| 72 | ): |
| 73 | assert menu_item in about.text.split('\n') |
| 74 | assert menu_item in about.full_text.split('\n') |
| 75 | |
| 76 | |
| 77 | @pytest.mark.ok |