Coverage for app/models/courseParticipant.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-09-18 19:56 +0000

1from app.models import* 

2from app.models.course import Course 

3from app.models.user import User 

4 

5class CourseParticipant(baseModel): 

6 course = ForeignKeyField(Course) 

7 user = ForeignKeyField(User) 

8 hoursEarned = FloatField()