def test_line_is_requirement_is_blank_line(): line_is_requirement = comparator.line_is_requirement("") assert line_is_requirement is False
def test_line_is_requirement_is_comment(): line_is_requirement = comparator.line_is_requirement( "# Another requirement") assert line_is_requirement is False
def test_line_is_requirement(): line_is_requirement = comparator.line_is_requirement("dependency==1.2.3") assert line_is_requirement is True
def test_line_is_requirement_is_comment(): line_is_requirement = comparator.line_is_requirement("# Another requirement") assert line_is_requirement is False