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: refactor asf framework code
[vpp.git]
/
test
/
discover_tests.py
diff --git
a/test/discover_tests.py
b/test/discover_tests.py
index
0eaa149
..
dbf23ef
100755
(executable)
--- a/
test/discover_tests.py
+++ b/
test/discover_tests.py
@@
-4,7
+4,6
@@
import sys
import os
import unittest
import importlib
import os
import unittest
import importlib
-import argparse
def discover_tests(directory, callback):
def discover_tests(directory, callback):
@@
-28,7
+27,11
@@
def discover_tests(directory, callback):
continue
if not issubclass(cls, unittest.TestCase):
continue
continue
if not issubclass(cls, unittest.TestCase):
continue
- if name == "VppTestCase" or name.startswith("Template"):
+ if (
+ name == "VppTestCase"
+ or name == "VppAsfTestCase"
+ or name.startswith("Template")
+ ):
continue
for method in dir(cls):
if not callable(getattr(cls, method)):
continue
for method in dir(cls):
if not callable(getattr(cls, method)):