diff options
Diffstat (limited to 'monkey/test.py')
-rwxr-xr-x | monkey/test.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/monkey/test.py b/monkey/test.py index ce7df93..1909f8d 100755 --- a/monkey/test.py +++ b/monkey/test.py @@ -31,8 +31,7 @@ problem = Problem.objects.get(pk=pid) aux_code = get_aux_code(user=User.objects.get(pk=1), problem=problem) attempts = Attempt.objects.filter(problem=problem) \ - .exclude(user__username='admin') \ - .exclude(user__username='test') + .exclude(user__groups=None) # Load hint database stored in edits.pickle. edits = tutor_apps.get_app_config('tutor').edits[problem.pk] |