12 lines
284 B
Python
12 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"')
|
||
|
|