(
empty_environ,
requests_pathname_prefix,
expected,
)
| 172 | ], |
| 173 | ) |
| 174 | def test_strip_relative_path( |
| 175 | empty_environ, |
| 176 | requests_pathname_prefix, |
| 177 | expected, |
| 178 | ): |
| 179 | app = Dash( |
| 180 | "Dash", |
| 181 | requests_pathname_prefix=requests_pathname_prefix, |
| 182 | ) |
| 183 | app_path = app.strip_relative_path("/app/page2") |
| 184 | dash_path = strip_relative_path("/app/page2") |
| 185 | assert app_path == dash_path == expected |
| 186 | |
| 187 | |
| 188 | def test_get_combined_config_dev_tools_ui(empty_environ): |
nothing calls this directly
no test coverage detected
searching dependent graphs…