File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 34
34
- 'dash/dash-renderer/**'
35
35
- 'dash/_callback.py'
36
36
- 'dash/_callback_context.py'
37
+ - 'tests/background_callback/**'
38
+ - 'tests/async_tests/**'
37
39
- 'requirements/**'
38
40
39
41
build :
@@ -263,6 +265,10 @@ jobs:
263
265
cd bgtests
264
266
touch __init__.py
265
267
pytest --headless --nopercyfinalize tests/background_callback -v -s
268
+
269
+ - name : Run Async Callback Tests
270
+ run : |
271
+ cd bgtests
266
272
pytest --headless --nopercyfinalize tests/async_tests -v -s
267
273
268
274
table-unit :
Original file line number Diff line number Diff line change 1
1
import json
2
2
import time
3
3
4
+ import flaky
5
+
4
6
from multiprocessing import Lock , Value
5
7
import pytest
6
8
27
29
from tests .utils import is_dash_async
28
30
29
31
32
+ @flaky .flaky (max_runs = 3 )
30
33
def test_async_cbsc001_simple_callback (dash_duo ):
31
34
if not is_dash_async ():
32
35
return
You can’t perform that action at this time.
0 commit comments