1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00
Files
jc/tests/test_wg_show.py
Hamza Saht 7fbe1e9f21 Add WireGuard (wg) Command Output Parser (#606)
* feat: add parser to parse the output of wg

* fixup! feat: add parser to parse the output of wg

* feat: Add tests for windows 10

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-11-24 13:34:58 -08:00

27 lines
524 B
Python

import unittest
import os
import sys
sys.path.append(os.getcwd())
from tests import utils_for_test as test_utils
sys.path.pop()
class MyTests(unittest.TestCase):
def test_wg_show_nodata(self):
"""
Test 'wg-show' with no data
"""
test_utils.run_no_data(self, __file__, [])
def test_wg_show_all_fixtures(self):
"""
Test 'wg-show' with various fixtures
"""
test_utils.run_all_fixtures(self, __file__)
if __name__ == "__main__":
unittest.main()