Skip to content

Commit dbf9d28

Browse files
boegelFlamefire
authored andcommitted
include utilities_test subsuite in overall test suite (+ trivial code style fixes)
1 parent e1f744e commit dbf9d28

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

easybuild/tools/filetools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
from easybuild.tools.build_log import EasyBuildError, dry_run_msg, print_msg, print_warning
6161
from easybuild.tools.config import DEFAULT_WAIT_ON_LOCK_INTERVAL, GENERIC_EASYBLOCK_PKG, build_option, install_path
6262
from easybuild.tools.py2vs3 import HTMLParser, std_urllib, string_type
63-
from easybuild.tools.utilities import nub, remove_unwanted_chars, natural_keys
63+
from easybuild.tools.utilities import natural_keys, nub, remove_unwanted_chars
6464

6565
try:
6666
import requests
@@ -1032,7 +1032,7 @@ def search_file(paths, query, short=False, ignore_dirs=None, silent=False, filen
10321032
if common_prefix is not None and len(common_prefix) > len(var) * 2:
10331033
var_defs.append((var, common_prefix))
10341034
var_spec = '$' + var
1035-
# Replace the common prefix by var_spec
1035+
# Replace the common prefix by var_spec
10361036
path_hits = (var_spec + fn[len(common_prefix):] for fn in path_hits)
10371037
hits.extend(path_hits)
10381038

test/framework/suite.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
import test.framework.toy_build as t
7878
import test.framework.type_checking as et
7979
import test.framework.tweak as tw
80+
import test.framework.utilities_test as u
8081
import test.framework.variables as v
8182
import test.framework.yeb as y
8283

@@ -118,7 +119,7 @@
118119
# call suite() for each module and then run them all
119120
# note: make sure the options unit tests run first, to avoid running some of them with a readily initialized config
120121
tests = [gen, bl, o, r, ef, ev, ebco, ep, e, mg, m, mt, f, run, a, robot, b, v, g, tcv, tc, t, c, s, lic, f_c,
121-
tw, p, i, pkg, d, env, et, y, st, h, ct, lib]
122+
tw, p, i, pkg, d, env, et, y, st, h, ct, lib, u]
122123

123124
SUITE = unittest.TestSuite([x.suite() for x in tests])
124125
res = unittest.TextTestRunner().run(SUITE)

0 commit comments

Comments
 (0)