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"])
예제 #5
0
def test_check_instructor_string():
    assert not validator.check_instructors("John Doe")
예제 #6
0
def test_check_instructor_empty():
    assert not validator.check_instructors([])
예제 #7
0
def test_check_instructor_only_one():
    assert validator.check_instructors(["John Doe"])
예제 #8
0
def test_check_instructors():
    assert validator.check_instructors(["John Doe", "Jane Doe"])