8000 Add tests for MUR subject processing · Issue #6925 · fecgov/fec-cms · GitHub
[go: up one dir, main page]

Skip to content

Add tests for MUR subject processing #6925

@patphongs

Description

@patphongs

The process_mur_subjects function (views.py:327-334) and its usage in mur_page needs test coverage.

Test coverage needed:

Add to fec/legal/tests/test_legal.py

class TestMurSubjectProcessing(TestCase):
def test_process_mur_subjects_with_valid_subjects()
def test_process_mur_subjects_empty_list()
def test_process_mur_subjects_missing_key()
def test_process_mur_subjects_filters_none_values()
def test_mur_page_includes_subject_list()

Completion criteria

  • process_mur_subjects function and mur_page have the tests

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

📥 Assigned

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0