cryptonas-branches/pythonrewrite/plugins/shutdown/unittests.py
lars 1dc0da0382 unittests added to some plugins
added "name" tag to all form elements
2006-10-26 12:25:12 +00:00

11 lines
284 B
Python

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('<form name="shutdown"')
self.cmd.find('<form name="reboot"')