cryptonas-branches/pythonrewrite/plugins/shutdown/unittests.py

12 lines
304 B
Python
Raw Normal View History

import WebInterfaceTestClass
class unittests(WebInterfaceTestClass.WebInterfaceTestClass):
def test_read_form(self):
url = self.URL + "plugins/shutdown"
self.register_auth(url)
self.cmd.go(url)
self.cmd.find('plugins/shutdown\?type=reboot')
self.cmd.find('plugins/shutdown\?type=shutdown')