コード例 #1
0
def test_employee_name_is_none(employee: Employee):
    assert employee.fullname() is not None
コード例 #2
0
def test_employee_name_is_correct(employee: Employee):
    assert employee.fullname() == 'test employee'