tests: add generalized tags for tests, use them for run-solo tests
[vpp.git] / test / test_util.py
index e7d5366..eb20531 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Test framework utility functions tests"""
 
 import unittest
@@ -7,8 +7,15 @@ from vpp_papi import mac_pton, mac_ntop
 
 
 class TestUtil (unittest.TestCase):
-    """ MAC to binary and back """
+    """ Test framework utility tests """
+
+    @classmethod
+    def is_tagged_run_solo(cls):
+        """ if the test case class is timing-sensitive - return true """
+        return False
+
     def test_mac_to_binary(self):
+        """ MAC to binary and back """
         mac = 'aa:bb:cc:dd:ee:ff'
         b = mac_pton(mac)
         mac2 = mac_ntop(b)