2006-10-26 12:25:12 +00:00
|
|
|
import WebInterfaceTestClass
|
|
|
|
|
|
|
|
class unittests(WebInterfaceTestClass.WebInterfaceTestClass):
|
|
|
|
|
|
|
|
def test_read_form(self):
|
|
|
|
url = self.URL + "plugins/shutdown"
|
|
|
|
self.register_auth(url)
|
|
|
|
self.cmd.go(url)
|
2006-11-02 14:01:09 +00:00
|
|
|
self.cmd.find('plugins/shutdown\?type=reboot')
|
|
|
|
self.cmd.find('plugins/shutdown\?type=shutdown')
|
2006-10-26 12:25:12 +00:00
|
|
|
|