Skip to content

Commit

Permalink
BUGFIX: Fixes for python 3
Browse files Browse the repository at this point in the history
Also edited some text to be correct
(more copy and paste errors)
  • Loading branch information
timmahrt committed Apr 29, 2016
1 parent 52c0877 commit a899b72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions integration_tests/lmeds_virtual_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
6 changes: 3 additions & 3 deletions integration_tests/test/integration_tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'''
Created on Jan 27, 2016
Created on Apr 29, 2016
@author: tmahrt
Expand All @@ -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())
Expand Down

0 comments on commit a899b72

Please sign in to comment.