Example #1
0
def test_check_valid_group_size_over():
    """Checking the group size of over the list length"""
    student_identifiers = [
        'maria', 'dan', 'simon', 'jesse', 'jon', 'michael', 'jacob',
        'kapfhammer'
    ]
    group_size = 9
    student_groups = parse_arguments.check_valid_group_size(
        group_size, student_identifiers)
    assert student_groups is False
Example #2
0
def test_check_valid_group_size_quarter():
    """Checking the group size of one"""
    student_identifiers = [
        'maria', 'dan', 'simon', 'jesse', 'jon', 'michael', 'jacob',
        'kapfhammer'
    ]
    group_size = len(student_identifiers) / 4
    student_groups = parse_arguments.check_valid_group_size(
        group_size, student_identifiers)
    assert student_groups
Example #3
0
def test_check_valid_group_size_over():
    """Checking the group size of over the list length"""
    student_identifiers = [
        "maria",
        "dan",
        "simon",
        "jesse",
        "jon",
        "michael",
        "jacob",
        "kapfhammer",
    ]
    group_size = 9
    student_groups = parse_arguments.check_valid_group_size(
        group_size, student_identifiers
    )
    assert student_groups is False
Example #4
0
def test_check_valid_group_size_quarter():
    """Checking the group size of one"""
    student_identifiers = [
        "maria",
        "dan",
        "simon",
        "jesse",
        "jon",
        "michael",
        "jacob",
        "kapfhammer",
    ]
    group_size = len(student_identifiers) / 4
    student_groups = parse_arguments.check_valid_group_size(
        group_size, student_identifiers
    )
    assert student_groups