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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions