コード例 #1
0
def test_check_instructor_string():
    assert not validator.check_instructors("John Doe")
コード例 #2
0
def test_check_instructor_only_one():
    assert validator.check_instructors(["John Doe"])
コード例 #3
0
def test_check_instructor_empty():
    assert not validator.check_instructors([])
コード例 #4
0
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"])