def has_other_option(tree):
    return utils.has_freebird_div(tree, "RadioOtherChoice")
Example #2
0
 def is_this_question(tree):
     return utils.has_freebird_div(tree, "TextLongText")
Example #3
0
def has_year(tree):
    return utils.has_freebird_div(tree, "DateYearInput")
Example #4
0
def has_time(tree):
    return utils.has_freebird_div(tree, "DateTimeInputs")
Example #5
0
    def test_exact_class_valid(self, tree, find_name):
        result = has_freebird_div(tree, find_name, exact=True)

        assert result is True
Example #6
0
 def is_this_question(tree):
     return utils.has_freebird_div(tree, "DateDateInput")
Example #7
0
    def test_not_exact_by_default(self, tree, find_name):
        result = has_freebird_div(tree, find_name)

        assert result is True
Example #8
0
    def test_valid(self, tree, find_name):
        result = has_freebird_div(tree, find_name)

        assert result is True
Example #9
0
    def test_does_not_contain(self, tree, find_name):
        result = has_freebird_div(tree, find_name)

        assert result is False
Example #10
0
 def is_this_question(tree):
     return utils.has_freebird_div(tree, "CheckboxChoice")
Example #11
0
def has_other_option(tree):
    return utils.has_freebird_div(tree, "CheckboxOtherInputElement")