diff --git a/integration_tests/lmeds_virtual_demo.py b/integration_tests/lmeds_virtual_demo.py index e01d8ad..36cf208 100644 --- a/integration_tests/lmeds_virtual_demo.py +++ b/integration_tests/lmeds_virtual_demo.py @@ -12,8 +12,6 @@ _root = os.path.split(cwd)[0] sys.path.append(_root) -print os.getcwd() - from lmeds import rpt_main leafFolder = "lmeds_demo" @@ -25,7 +23,7 @@ survey = rpt_main.WebSurvey(leafFolder, sequenceFile, languageFile, disableRefresh, audioExtList=audioExtList) -for i in xrange(survey.testSequence.getNumPages()): +for i in range(survey.testSequence.getNumPages()): page = survey.testSequence.getPage(i) survey.buildPage(i, "", page, "no_name", survey.testSequence, survey.sourceCGIFN) diff --git a/integration_tests/test/integration_tests.py b/integration_tests/test/integration_tests.py index bd58b16..4bd64cd 100644 --- a/integration_tests/test/integration_tests.py +++ b/integration_tests/test/integration_tests.py @@ -1,5 +1,5 @@ ''' -Created on Jan 27, 2016 +Created on Apr 29, 2016 @author: tmahrt @@ -26,8 +26,8 @@ class IntegrationTests(unittest.TestCase): """Integration tests""" - def test_add_tiers(self): - """Running 'add_tiers.py'""" + def test_run_lmeds_demo(self): + """Running 'lmeds_virtual_demo'""" print(os.getcwd()) import lmeds_virtual_demo print(os.getcwd())