2006-11-27 19:25:26 +00:00
|
|
|
import cryptobox.web.testclass
|
2006-11-06 16:05:00 +00:00
|
|
|
|
2006-11-27 19:25:26 +00:00
|
|
|
class unittests(cryptobox.web.testclass.WebInterfaceTestClass):
|
2006-11-06 16:05:00 +00:00
|
|
|
|
|
|
|
def test_read_form(self):
|
|
|
|
url = self.URL + "shutdown"
|
|
|
|
self.register_auth(url)
|
|
|
|
self.cmd.go(url)
|
|
|
|
self.cmd.find('shutdown\?type=reboot')
|
|
|
|
self.cmd.find('shutdown\?type=shutdown')
|
|
|
|
|