Skip to content

Commit

Permalink
Fixed testrunner reference to configsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Jan 31, 2016
1 parent da73346 commit 4550edf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tendril/testing/testrunner.py
Expand Up @@ -155,6 +155,15 @@ def replace_in_test_cnf_dict(cnf_dict, token, value, channelmap=None):


def get_suiteobj_from_cnf_suite(cnf_suite, gcf, devicetype, offline=False):
"""
:param cnf_suite:
:param gcf:
:type gcf: tendril.gedaif.conffile.ConfigsFile
:param devicetype:
:param offline:
:return:
"""
if len(cnf_suite.keys()) != 1:
raise ValueError("Suite configurations are expected "
"to have exactly one key at the top level")
Expand All @@ -163,7 +172,7 @@ def get_suiteobj_from_cnf_suite(cnf_suite, gcf, devicetype, offline=False):
testvars = gcf.testvars(devicetype)
bomobj = import_pcb(gcf.projectfolder)
bomobj.configure_motifs(devicetype)
cnf_grouplist = gcf.config_grouplist(devicetype)
cnf_grouplist = gcf.configuration_grouplist(devicetype)

desc = None
title = None
Expand Down

0 comments on commit 4550edf

Please sign in to comment.