()
| 137 | |
| 138 | |
| 139 | def test_template_path() -> None: |
| 140 | original_path = option(Option.GET_TEMPLATE_PATH) |
| 141 | |
| 142 | test_path = '/tmp/test_templates' |
| 143 | option(Option.SET_TEMPLATE_PATH, test_path) |
| 144 | assert option(Option.GET_TEMPLATE_PATH) == test_path |
| 145 | |
| 146 | if original_path: |
| 147 | option(Option.SET_TEMPLATE_PATH, original_path) |
| 148 | else: |
| 149 | option(Option.SET_TEMPLATE_PATH, None) |
| 150 | |
| 151 | |
| 152 | def test_user_agent() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…