Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7d6afb3
)
make test: remove unnecessary check
21/15821/2
author
Klement Sekera
<ksekera@cisco.com>
Thu, 8 Nov 2018 12:05:37 +0000
(13:05 +0100)
committer
Damjan Marion
<dmarion@me.com>
Thu, 8 Nov 2018 13:25:46 +0000
(13:25 +0000)
Change-Id: I90ee144a5c5a2e753e36d45c0ce98c9a8b477f15
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/discover_tests.py
patch
|
blob
|
history
diff --git
a/test/discover_tests.py
b/test/discover_tests.py
index
99016e2
..
fbd2d9c
100755
(executable)
--- a/
test/discover_tests.py
+++ b/
test/discover_tests.py
@@
-22,8
+22,6
@@
def discover_tests(directory, callback):
if not _f.startswith("test_") or not _f.endswith(".py"):
continue
name = "".join(f.split("/")[-1].split(".")[:-1])
- if name in sys.modules:
- raise Exception("Duplicate test module `%s' found!" % name)
module = importlib.import_module(name)
for name, cls in module.__dict__.items():
if not isinstance(cls, type):