コード例 #1
0
def test_check_instructor_string():
    assert not validator.check_instructor("John Doe")
コード例 #2
0
def test_check_instructor_only_one():
    assert validator.check_instructor(["John Doe"])
コード例 #3
0
def test_check_instructor_empty():
    assert not validator.check_instructor([])
コード例 #4
0
def test_check_instructor():
    assert validator.check_instructor(["John Doe", "Jane Doe"])