Skip to content

Commit

Permalink
Merge pull request #5 from boegel/package_singularity
Browse files Browse the repository at this point in the history
fix some more style issues in test/framework/suite.py
  • Loading branch information
shahzebsiddiqui authored Apr 19, 2018
2 parents ed68f9c + 54a6504 commit 6773d6e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/framework/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
import test.framework.github as g
import test.framework.hooks as h
import test.framework.include as i
import test.framework.license as l
import test.framework.license as lic
import test.framework.module_generator as mg
import test.framework.modules as m
import test.framework.modulestool as mt
Expand All @@ -80,7 +80,8 @@
import test.framework.variables as v
import test.framework.yeb as y

# set plain text key ring to be used, so a GitHub token stored in it can be obtained without having to provide a password
# set plain text key ring to be used,
# so a GitHub token stored in it can be obtained without having to provide a password
try:
import keyring
keyring.set_keyring(keyring.backends.file.PlaintextKeyring())
Expand Down Expand Up @@ -108,7 +109,7 @@

# call suite() for each module and then run them all
# note: make sure the options unit tests run first, to avoid running some of them with a readily initialized config
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, l, f_c, sc,
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, sc,
tw, p, i, pkg, d, env, et, y, st, h, ct]

SUITE = unittest.TestSuite([x.suite() for x in tests])
Expand All @@ -131,5 +132,5 @@
print "Log available at %s" % log_fn, xml_msg
sys.exit(2)
else:
for f in glob.glob('%s*' % log_fn):
os.remove(f)
for fn in glob.glob('%s*' % log_fn):
os.remove(fn)

0 comments on commit 6773d6e

Please sign in to comment.