From adf44f2a5eeb056c5fece0454d3e09d08df160fe Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Tue, 28 May 2019 10:19:21 +0200 Subject: [TEST] - Initialize to use of YDK in sweetcomb test - remove netopeer client - use YDK - check result, assert when error Change-Id: Icb29dd5a35e8f7dbbeff2e44ec088b890f93b5ef Signed-off-by: Andrej Kozemcak --- test/run_test.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'test/run_test.py') diff --git a/test/run_test.py b/test/run_test.py index e3190c4..a4cce6d 100755 --- a/test/run_test.py +++ b/test/run_test.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 # # Copyright (c) 2019 PANTHEON.tech. +# Copyright (c) 2019 Cisco and/or its affiliates. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,15 +20,20 @@ import unittest import util -from framewrok import SweetcombTestCase +from framework import SweetcombTestCase from test_ietf_interfaces import TestIetfInterfaces +from test_oc_interfaces import TestOcInterfaces + def suite(): suite = unittest.TestSuite() - suite.addTest(TestIetfInterfaces('test_interface_up')) - suite.addTest(TestIetfInterfaces('test_ip_addr')) + suite.addTest(TestIetfInterfaces('test_ipv4')) + suite.addTest(TestIetfInterfaces('test_interface')) + suite.addTest(TestOcInterfaces('test_interface')) + suite.addTest(TestOcInterfaces('test_interface_ipv4')) return suite + if __name__ == '__main__': util.import_yang_modules() runner = unittest.TextTestRunner() -- cgit 1.2.3-korg