# Path: pyxform/builder.py
# def create_survey_from_xls(path_or_file, default_name=None):
#     excel_reader = SurveyReader(path_or_file, default_name=default_name)
#     d = excel_reader.to_json_dict()
#     survey = create_survey_element_from_dict(d)
#     if not survey.id_string:
#         survey.id_string = excel_reader._name
#     return survey
# 
# Path: tests/utils.py
# def path_to_text_fixture(filename):
# def build_survey(filename):
# def create_survey_from_fixture(fixture_name, filetype="xls", include_directory=False):
# def prep_class_config(cls, test_dir="tests"):
# def prep_for_xml_contains(text: str) -> "Tuple[str]":
# def get_temp_file():
# def get_temp_dir():


from unittest import TestCase
from pyxform.builder import create_survey_from_xls
from tests import utils
# -*- coding: utf-8 -*-
"""
Test loop syntax.
"""



class LoopTests(TestCase):
    def test_loop(self):

# Path: pyxform/builder.py
# def create_survey_from_xls(path_or_file, default_name=None):
#     excel_reader = SurveyReader(path_or_file, default_name=default_name)
#     d = excel_reader.to_json_dict()
#     survey = create_survey_element_from_dict(d)
#     if not survey.id_string:
#         survey.id_string = excel_reader._name
#     return survey
# 
# Path: tests/utils.py
# def path_to_text_fixture(filename):
# def build_survey(filename):
# def create_survey_from_fixture(fixture_name, filetype="xls", include_directory=False):
# def prep_class_config(cls, test_dir="tests"):
# def prep_for_xml_contains(text: str) -> "Tuple[str]":
# def get_temp_file():
# def get_temp_dir():


# Path: tests/loop_tests.py
from unittest import TestCase
from pyxform.builder import create_survey_from_xls
from tests import utils

# -*- coding: utf-8 -*-
"""
Test loop syntax.
"""



class LoopTests(TestCase):
    def test_loop(self):

        path = utils.path_to_text_fixture("another_loop.xls")