Example #1
0
 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)
Example #2
0
def GUI_render_content(tab):
    return tab_render(tab)
Example #3
0
 def test_tab_render_screen_tab(self):
     self.assertIsInstance(type(tab_render('screen-tab')),
                           dash.development.base_component.ComponentMeta)
Example #4
0
 def test_tab_render_keyboard_tab(self):
     self.assertIsInstance(type(tab_render('keyboard-tab')),
                           dash.development.base_component.ComponentMeta)
Example #5
0
 def test_tab_render_system_options_tab(self, mixer):
     self.assertIsInstance(type(tab_render('system-options-tab')),
                           dash.development.base_component.ComponentMeta)