Skip to content

View functions not unit tested #8

@engelsmann

Description

@engelsmann

The attempts to "raise KeyError", e.g. in

#with self.assertRaises(KeyError):

show that Selenium-driven tests do not see the exception, even if it is indeed risen, as the page content demonstrates.
(Try selecting Andersine Andersen and see how she submits!)
Somehow (django.test ??) we should test all the way down to the view functions, including elev_aflevering(),
def elev_aflevering(request):

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions