aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ietf_interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ietf_interfaces.py')
-rw-r--r--test/test_ietf_interfaces.py7
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)