(
empty_environ,
requests_pathname_prefix,
assets_external_path,
assets_url_path,
expected,
)
| 125 | ], |
| 126 | ) |
| 127 | def test_asset_url( |
| 128 | empty_environ, |
| 129 | requests_pathname_prefix, |
| 130 | assets_external_path, |
| 131 | assets_url_path, |
| 132 | expected, |
| 133 | ): |
| 134 | app = Dash( |
| 135 | "Dash", |
| 136 | requests_pathname_prefix=requests_pathname_prefix, |
| 137 | assets_external_path=assets_external_path, |
| 138 | assets_url_path=assets_url_path, |
| 139 | ) |
| 140 | |
| 141 | app_path = app.get_asset_url("reset.css") |
| 142 | dash_path = get_asset_url("reset.css") |
| 143 | assert app_path == dash_path == expected |
| 144 | |
| 145 | |
| 146 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…