tests: refactor asf framework code
[vpp.git] / test / discover_tests.py
index 0eaa149..dbf23ef 100755 (executable)
@@ -4,7 +4,6 @@ import sys
 import os
 import unittest
 import importlib
-import argparse
 
 
 def discover_tests(directory, callback):
@@ -28,7 +27,11 @@ def discover_tests(directory, callback):
                 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)):