Skip to content

Commit ac5a47a

Browse files
committed
Do not run useless tests #1056
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 10a82a0 commit ac5a47a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/licensedcode/test_detection_validate.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from commoncode import text
3333

3434
from licensedcode import cache
35-
from licensedcode import models
3635
from licensedcode.tracing import get_texts
3736

3837
# Python 2 and 3 support
@@ -117,7 +116,7 @@ class TestValidateLicenseTextDetection(unittest.TestCase):
117116
pass
118117

119118

120-
build_license_validation_tests(cache.get_licenses_db(), TestValidateLicenseTextDetection)
119+
# build_license_validation_tests(cache.get_licenses_db(), TestValidateLicenseTextDetection)
121120

122121

123122
def build_rule_validation_tests(rules, cls):
@@ -142,4 +141,4 @@ class TestValidateLicenseRuleSelfDetection(unittest.TestCase):
142141
pass
143142

144143

145-
build_rule_validation_tests(models.load_rules(), TestValidateLicenseRuleSelfDetection)
144+
# build_rule_validation_tests(models.load_rules(), TestValidateLicenseRuleSelfDetection)

0 commit comments

Comments
 (0)