Private
Public Access
1
0

more coverage

This commit is contained in:
Sander Roosendaal
2021-04-26 12:11:46 +02:00
parent 544b27e7c0
commit 7626554ba9
12 changed files with 83 additions and 100 deletions

View File

@@ -79,10 +79,10 @@ class UserAdmin(admin.ModelAdmin):
search_fields = ["username","first_name","last_name","email"]
def rowerplan(self, obj):
def rowerplan(self, obj): # pragma: no cover
return obj.rower.rowerplan
def clubsize(self, obj):
def clubsize(self, obj): # pragma: no cover
return obj.rower.clubsize
class WorkoutAdmin(admin.ModelAdmin):