Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tests: "force solo" testcase support
[vpp.git]
/
test
/
test_util.py
diff --git
a/test/test_util.py
b/test/test_util.py
index
51cc739
..
8501881
100755
(executable)
--- a/
test/test_util.py
+++ b/
test/test_util.py
@@
-7,8
+7,15
@@
from vpp_papi import mac_pton, mac_ntop
class TestUtil (unittest.TestCase):
class TestUtil (unittest.TestCase):
- """ MAC to binary and back """
+ """ Test framework utility tests """
+
+ @classmethod
+ def force_solo(cls):
+ """ if the test case class is timing-sensitive - return true """
+ return False
+
def test_mac_to_binary(self):
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)
mac = 'aa:bb:cc:dd:ee:ff'
b = mac_pton(mac)
mac2 = mac_ntop(b)