(
empty_environ,
requests_pathname_prefix,
expected,
)
| 151 | ], |
| 152 | ) |
| 153 | def test_get_relative_path( |
| 154 | empty_environ, |
| 155 | requests_pathname_prefix, |
| 156 | expected, |
| 157 | ): |
| 158 | app = Dash( |
| 159 | "Dash", |
| 160 | requests_pathname_prefix=requests_pathname_prefix, |
| 161 | ) |
| 162 | app_path = app.get_relative_path("/page2") |
| 163 | dash_path = get_relative_path("/page2") |
| 164 | assert app_path == dash_path == expected |
| 165 | |
| 166 | |
| 167 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…