Skip to content

Commit 2a2f45c

Browse files
committed
fix test ini
1 parent 2e17d11 commit 2a2f45c

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

components/dash-core-components/tests/integration/input/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from dash import Dash, Input, Output, dcc, html
33

44

5-
@pytest.fixture(scope="module")
5+
@pytest.fixture
66
def ninput_app():
77
app = Dash(__name__)
88
app.layout = html.Div(
@@ -35,7 +35,7 @@ def render(fval, tval):
3535
yield app
3636

3737

38-
@pytest.fixture(scope="module")
38+
@pytest.fixture
3939
def input_range_app():
4040
app = Dash(__name__)
4141
app.layout = html.Div(
@@ -59,7 +59,7 @@ def range_out(val):
5959
yield app
6060

6161

62-
@pytest.fixture(scope="module")
62+
@pytest.fixture
6363
def debounce_text_app():
6464
app = Dash(__name__)
6565
app.layout = html.Div(
@@ -89,7 +89,7 @@ def render(slow_val, fast_val):
8989
yield app
9090

9191

92-
@pytest.fixture(scope="module")
92+
@pytest.fixture
9393
def debounce_number_app():
9494
app = Dash(__name__)
9595
app.layout = html.Div(

dash/backends/_fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def has_request_context(self) -> bool:
231231
except RuntimeError:
232232
return False
233233

234-
def run(self, dash_app: Dash, host, port, debug, **kwargs):
234+
def run(self, dash_app: Dash, host, port, debug, **kwargs): # pylint: disable=R0912
235235
frame = inspect.stack()[2]
236236
dev_tools = dash_app._dev_tools # pylint: disable=W0212
237237
config = dict(

dash/backends/_quart.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def has_request_context(self) -> bool:
194194
# pylint: disable=W0613
195195
def run(self, dash_app: Dash, host: str, port: int, debug: bool, **kwargs: _t.Any):
196196
self.config = {"debug": debug, **kwargs} if debug else kwargs
197+
# pylint: disable=protected-access
197198
if dash_app._dev_tools.silence_routes_logging:
198199
dictConfig(
199200
{

0 commit comments

Comments
 (0)