def test_check_instructor_string():
    assert not validator.check_instructors("John Doe")
def test_check_instructor_only_one():
    assert validator.check_instructors(["John Doe"])
def test_check_instructor_empty():
    assert not validator.check_instructors([])
def test_check_instructors():
    assert validator.check_instructors(["John Doe", "Jane Doe"])
Ejemplo n.º 5
0
def test_check_instructor_string():
    assert not validator.check_instructors("John Doe")
Ejemplo n.º 6
0
def test_check_instructor_empty():
    assert not validator.check_instructors([])
Ejemplo n.º 7
0
def test_check_instructor_only_one():
    assert validator.check_instructors(["John Doe"])
Ejemplo n.º 8
0
def test_check_instructors():
    assert validator.check_instructors(["John Doe", "Jane Doe"])