()
| 150 | |
| 151 | |
| 152 | def test_user_agent() -> None: |
| 153 | original_agent = option(Option.GET_USER_AGENT) |
| 154 | |
| 155 | test_agent = 'test-agent/1.0' |
| 156 | option(Option.SET_USER_AGENT, test_agent) |
| 157 | assert option(Option.GET_USER_AGENT) == test_agent |
| 158 | |
| 159 | if original_agent: |
| 160 | option(Option.SET_USER_AGENT, original_agent) |
| 161 | |
| 162 | |
| 163 | def test_pack_max_objects() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…