mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Add live-search to set-email-branding page
This commit is contained in:
@@ -2472,6 +2472,28 @@ def mock_get_all_email_branding(mocker):
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_more_email_branding_than_can_fit_onscreen(mocker):
|
||||
def _get_more_email_branding_than_can_fit_onscreen():
|
||||
return create_email_brandings(8)
|
||||
|
||||
return mocker.patch(
|
||||
'app.email_branding_client.get_all_email_branding',
|
||||
side_effect=_get_more_email_branding_than_can_fit_onscreen
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_email_branding_that_can_fit_onscreen(mocker):
|
||||
def _get_email_branding_that_can_fit_onscreen():
|
||||
return create_email_brandings(4)
|
||||
|
||||
return mocker.patch(
|
||||
'app.email_branding_client.get_all_email_branding',
|
||||
side_effect=_get_email_branding_that_can_fit_onscreen
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_letter_email_branding(mocker):
|
||||
def _get_letter_email_branding():
|
||||
|
||||
Reference in New Issue
Block a user