diff --git a/tests/test_render.py b/tests/test_render.py index 61fb8c8..63b9f86 100644 --- a/tests/test_render.py +++ b/tests/test_render.py @@ -104,7 +104,7 @@ def request_queue_assertions( if expected_length is not None: self.assertEqual(len(request_queue), expected_length) - + def test_initial_state(self): app = Dash(__name__) app.layout = html.Div([ @@ -475,6 +475,19 @@ def test_initial_state(self): assert_clean_console(self) + def test_nully_child(self): + app = Dash(__name__) + app.layout = html.Div(id='nully-wrapper', children=[0]) + + self.startServer(app) + + self.wait_for_element_by_css_selector('#nully-wrapper') + wrapper = self.driver.find_element_by_id('nully-wrapper') + + self.assertEqual(wrapper.get_attribute('innerHTML'), '0') + + assert_clean_console(self) + def test_simple_callback(self): app = Dash(__name__) app.layout = html.Div([