Skip to content

Commit 832a717

Browse files
author
Ryan Patrick Kyle
committed
add false to process_assets tests
1 parent 55471ab commit 832a717

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/config_functional.jl

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,37 +67,37 @@ end
6767

6868
@testset "assets paths" begin
6969
app = dash("test app")
70-
res = Dash.process_assets(app, "/assets/test.png")
70+
res = Dash.process_assets(app, "/assets/test.png", false)
7171
@test res.status == 200
72-
res = Dash.process_assets(app, "/assets/test3.png")
72+
res = Dash.process_assets(app, "/assets/test3.png", false)
7373
@test res.status == 404
74-
res = Dash.process_assets(app, "/images/test.png")
74+
res = Dash.process_assets(app, "/images/test.png", false)
7575
@test res.status == 404
7676

7777
app = dash("test app", url_base_pathname = "/test/")
78-
res = Dash.process_assets(app, "/assets/test.png")
78+
res = Dash.process_assets(app, "/assets/test.png", false)
7979
@test res.status == 404
80-
res = Dash.process_assets(app, "/test/assets/test.png")
80+
res = Dash.process_assets(app, "/test/assets/test.png", false)
8181
@test res.status == 200
82-
res = Dash.process_assets(app, "/images/test.png")
82+
res = Dash.process_assets(app, "/images/test.png", false)
8383
@test res.status == 404
8484

8585
app = dash("test app", assets_url_path = "ass")
86-
res = Dash.process_assets(app, "/ass/test.png")
86+
res = Dash.process_assets(app, "/ass/test.png", false)
8787
@test res.status == 200
88-
res = Dash.process_assets(app, "/ass/test3.png")
88+
res = Dash.process_assets(app, "/ass/test3.png", false)
8989
@test res.status == 404
90-
res = Dash.process_assets(app, "/assets/test3.png")
90+
res = Dash.process_assets(app, "/assets/test3.png", false)
9191
@test res.status == 404
92-
res = Dash.process_assets(app, "/images/test.png")
92+
res = Dash.process_assets(app, "/images/test.png", false)
9393
@test res.status == 404
9494

9595
app = dash("test app", assets_folder = "images")
96-
res = Dash.process_assets(app, "/assets/test.png")
96+
res = Dash.process_assets(app, "/assets/test.png", false)
9797
@test res.status == 404
98-
res = Dash.process_assets(app, "/assets/test_images.png")
98+
res = Dash.process_assets(app, "/assets/test_images.png", false)
9999
@test res.status == 200
100-
res = Dash.process_assets(app, "/images/test.png")
100+
res = Dash.process_assets(app, "/images/test.png", false)
101101
@test res.status == 404
102102
end
103103

@@ -204,4 +204,4 @@ end
204204

205205
index_page = Dash.index_page(app)
206206
@test !isnothing(findfirst("\"show_undo_redo\":true", index_page))
207-
end
207+
end

0 commit comments

Comments
 (0)