diff options
author | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-05-30 13:53:07 +0200 |
---|---|---|
committer | Andrej Kozemcak <andrej.kozemcak@pantheon.tech> | 2019-06-03 10:01:30 +0200 |
commit | e77922662052f0caec4129ee43ab9d176b806769 (patch) | |
tree | b66dbd8426c9d485e10ea5499748d5824a7f247b /test/test_ietf_interfaces.py | |
parent | adf44f2a5eeb056c5fece0454d3e09d08df160fe (diff) |
[TEST] - automatic test run
- skript find all test file
- start test function from test file
Change-Id: I3b37247c960afa6bf788cd14f1d8d240af3100c6
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test/test_ietf_interfaces.py')
-rw-r--r-- | test/test_ietf_interfaces.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test_ietf_interfaces.py b/test/test_ietf_interfaces.py index 3b08859..a4ebf78 100644 --- a/test/test_ietf_interfaces.py +++ b/test/test_ietf_interfaces.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # # Copyright (c) 2019 PANTHEON.tech. # Copyright (c) 2019 Cisco and/or its affiliates. @@ -18,7 +19,7 @@ import unittest import util -from framework import SweetcombTestCase +from framework import SweetcombTestCase, SweetcombTestRunner from ydk.models.ietf import ietf_interfaces from ydk.models.ietf import iana_if_type from ydk.services import CRUDService @@ -116,3 +117,7 @@ class TestIetfInterfaces(SweetcombTestCase): a = self.vppctl.show_address(name) self.assertIsNone(a) + + +if __name__ == '__main__': + unittest.main(testRunner=SweetcombTestRunner) |