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

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

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

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

        assert result is False
 def is_this_question(tree):
     return utils.has_freebird_div(tree, "CheckboxChoice")
def has_other_option(tree):
    return utils.has_freebird_div(tree, "CheckboxOtherInputElement")