2006-10-26 14:25:12 +02: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 15:01:09 +01:00
|
|
|
self.cmd.find('plugins/shutdown\?type=reboot')
|
|
|
|
self.cmd.find('plugins/shutdown\?type=shutdown')
|
2006-10-26 14:25:12 +02:00
|
|
|
|