diff options
author | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-05-28 10:19:21 +0200 |
---|---|---|
committer | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-06-03 10:01:26 +0200 |
commit | adf44f2a5eeb056c5fece0454d3e09d08df160fe (patch) | |
tree | aee220cedfccc15f59bccfae1ca7ec6b4a904809 /test/run_test.py | |
parent | 6dfe3074e92b3188c9fa72303f4135442cc0d5dd (diff) |
[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 <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test/run_test.py')
-rwxr-xr-x | test/run_test.py | 12 |
1 files changed, 9 insertions, 3 deletions
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() |