diff --git a/.gitignore b/.gitignore index b781604..7cce8bc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,5 @@ *.pyc -.__pycache__ -.db \ No newline at end of file +*.__pycache__ +*.db \ No newline at end of file diff --git a/tests/test_apis.py b/tests/test_apis.py index ee03fdc..df6e3aa 100644 --- a/tests/test_apis.py +++ b/tests/test_apis.py @@ -85,5 +85,6 @@ def test_delete_class_schedule(db): class_schedule = schemas.ClassScheduleCreate(schedule_name="History Class", teacher_id=db_teacher.id, class_id=db_class.id, time_slot="12:00-13:00") db_class_schedule = crud.create_class_schedule(db, class_schedule) deleted_class_schedule = crud.delete_class_schedule(db, db_class_schedule.id) - return False + assert not deleted_class_schedule.id +