Skip to content

Class-based views: Enrollment success #3013

@thekaveman

Description

@thekaveman

View function: https://github.com/cal-itp/benefits/blob/main/benefits/enrollment/views.py#L77

Acceptance Criteria

  • Implement as TemplateView
  • Move any corresponding copy context into get_context_data()
  • Refactor to class-based tests for all view tests
  • Refactor view tests away from using the test Django Client to make requests, instead testing the individual attributes/methods of the view class

Additional context

Metadata

Metadata

Assignees

Labels

back-endDjango views, sessions, middleware, models, migrations etc.choreInternal maintenance or code quality work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions