def test_tab_render_upload_tab(self): os.makedirs(UPLOAD_DIRECTORY) os.mknod(f'{UPLOAD_DIRECTORY}/a.txt') os.mknod(f'{UPLOAD_DIRECTORY}/b.txt') os.mknod(f'{UPLOAD_DIRECTORY}/c.txt') self.assertIsInstance(type(tab_render('upload-tab')), dash.development.base_component.ComponentMeta)
def GUI_render_content(tab): return tab_render(tab)
def test_tab_render_screen_tab(self): self.assertIsInstance(type(tab_render('screen-tab')), dash.development.base_component.ComponentMeta)
def test_tab_render_keyboard_tab(self): self.assertIsInstance(type(tab_render('keyboard-tab')), dash.development.base_component.ComponentMeta)
def test_tab_render_system_options_tab(self, mixer): self.assertIsInstance(type(tab_render('system-options-tab')), dash.development.base_component.ComponentMeta)