summaryrefslogtreecommitdiff
path: root/src/tests
AgeCommit message (Collapse)Author
2020-10-19unittests: T2995: vyos_dict_search() must return None on non-existing keysChristian Poessinger
The current wversion unfortunately will raise a KeyError: >>> data = {} >>> vyos_dict_search('foo', data) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/vyos/util.py", line 685, in vyos_dict_search return dict[path] KeyError: 'foo'
2020-10-19unittests: cleanup unused importsChristian Poessinger
2020-07-22xml: T2582: use xml for is_tag and is_leafThomas Mangin
2020-06-18T2614: add a key mangling option to vyos.config.get_config_dict()Daniil Baturin
2019-09-28T1694: delete the now broken tests for NTP.Daniil Baturin
2019-03-08[ntp] T1280 - reverting added options from that taskhagbard
2019-03-07[ntp] T1280 - restrict option for servers, so they can query upstreamhagbard
2019-03-07Revert "[ntp] adding extra option to test"hagbard
This reverts commit 4b2c57f4ba08409b4b6ba459fa8a3d23c5f6990c.
2019-03-07[ntp] adding extra option to testhagbard
2019-03-04adjusted ntp test to accept the 2 new restrict parametershagbard
2019-02-16Temporary remove hostname test to get module to compile againChristian Poessinger
2019-02-16hostname: additional test case fixesChristian Poessinger
2019-02-16Tests: fix hostname testsChristian Poessinger
Commit 3d3eccd687 ("T1174: migrate local hostname/DNS handling to vyos-1x") changed a lot of the internal data handling for setting the systems host and domain name information.
2019-02-14[vyos.configtree] T1248: add a function for node copyingDaniil Baturin
Also improve sanity checks in the rename function and add unit tests for copy and rename.
2019-01-30Add build time tests for NTPkamijin_fanta
2019-01-26T1193: add some tests for the config parser.Daniil Baturin
2019-01-22Revert "adjusted unit test"hagbard
This reverts commit 0d80b06ccd33fc2a0001b8641ce45070f0e8726d.
2019-01-21adjusted unit testhagbard
2018-07-18T749: add unit tests for the initial setup library.Daniil Baturin
2018-05-24T462: make cron jobs run with vyattacfg GID.Daniil Baturin
2018-05-19host-name: fix test_applyYuya Kusakabe
2018-05-17Add tests for host-name and domain-name againYuya Kusakabe
2018-05-17Temporarily remove the broken hostname tests so that the package can build.Daniil Baturin
2018-05-17Add tests for hostnameYuya Kusakabe
2018-05-16T644: remove prefixing from all scripts and update environment variables ↵Daniil Baturin
with VyOS paths.
2018-05-16Use '_' instead of '-' for python scripts for testYuya Kusakabe
2018-05-16T626 Add tests for vyos-update-crontab and initial setup for sonarcloudYuya Kusakabe