Skip to content

Commit 8370380

Browse files
author
delsim
committed
Update test to reflect serving locally
1 parent ae6c69c commit 8370380

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_plotly_dash/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ def test_local_serving(settings):
292292
'Test local serve settings'
293293

294294
from django_plotly_dash.util import serve_locally, static_asset_root, full_asset_path
295-
assert serve_locally() == settings.DEBUG
295+
# Now default to serving all files locally
296+
assert serve_locally() == True
296297
assert static_asset_root() == 'dpd/assets'
297298
assert full_asset_path('fred.jim', 'harry') == 'dpd/assets/fred/jim/harry'
298299

0 commit comments

Comments
 (0)