Forking what is left of ZeroNet and hopefully adding an AT Proto Frontend/Proxy
at main 11 lines 320 B view raw
1import sys 2import pytest 3 4@pytest.mark.usefixtures("resetSettings") 5class TestUiWebsocket: 6 def testPermission(self, ui_websocket): 7 res = ui_websocket.testAction("ping") 8 assert res == "pong" 9 10 res = ui_websocket.testAction("certList") 11 assert "You don't have permission" in res["error"]