

def test_render_ui_available(self):
    ui_main = self.request({
        
    }, endpoint='')
    self.assertStatusCode(ui_main, 200)
    self.assertIn('Splash', self.text)
    if lua.is_supported():
        self.assertIn('"lua_enabled": true', ui_main.text)
    else:
        self.assertIn('"lua_enabled": false', ui_main.text)

dataset/ETHPy150Open scrapinghub/splash/splash/tests/test_ui.py UITest.test_render_ui_available/VarMisuse@41/55 `ui_main`->`self`