mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
* 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>
27 lines
524 B
Python
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()
|