mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-22 11:18:55 +00:00
23 lines
708 B
Python
23 lines
708 B
Python
import unittest
|
|
from wifipumpkin3.exceptions.errors.dhcpException import DHCPServerSettingsError
|
|
from wifipumpkin3.core.common.platforms import Linux
|
|
|
|
from wifipumpkin3.core.ui.dhcpConfig import ui_DhcpSettingsClass
|
|
|
|
class TestUIDHCPSettings(unittest.TestCase):
|
|
def test_dhcp_error_message(self):
|
|
with self.assertRaises(DHCPServerSettingsError):
|
|
raise DHCPServerSettingsError("", "")
|
|
|
|
def test_read_file_exception(self):
|
|
pass
|
|
#self.result_content = ui_DhcpSettingsClass(self)
|
|
#self.result_content.start()
|
|
|
|
# def test_raise(self):
|
|
# raise DHCPServerSettingsError('DHCP Server', 'range ip error')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|