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

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

        assert result is True
Exemplo n.º 8
0
    def test_valid(self, tree, find_name):
        result = has_freebird_div(tree, find_name)

        assert result is True
Exemplo n.º 9
0
    def test_does_not_contain(self, tree, find_name):
        result = has_freebird_div(tree, find_name)

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