Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Jan 4, 2024
1 parent 8dd9589 commit 3a4201b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/plugins/modules/test_pfsense_openvpn_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ def test_openvpn_server_create(self):
obj = dict(name='ovpns3', mode='p2p_tls', ca='OpenVPN CA', local_port=1196)
self.do_module_test(obj, command="create openvpn_server 'ovpns3', description='ovpns3'")

def test_openvpn_server_create_generate(self):
""" test creation of a new OpenVPN server """
obj = dict(name='ovpns3', mode='p2p_tls', ca='OpenVPN CA', local_port=1196, tls='generate')
self.do_module_test(obj, command="create openvpn_server 'ovpns3', description='ovpns3'")

def test_openvpn_server_delete(self):
""" test deletion of a OpenVPN server """
obj = dict(name='ovpns2')
Expand Down

0 comments on commit 3a4201b

Please sign in to comment.