mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
rename logged_in_platform_admin_client to platform_admin_client
of course it's logged in, it's a platform admin also, reduce use of the `client` fixture in test_platform_admin (replace it with platform_admin_client)
This commit is contained in:
@@ -25,9 +25,9 @@ sample_inbound_sms = {'data': [{"id": "activated",
|
||||
]}
|
||||
|
||||
|
||||
def test_inbound_sms_admin(logged_in_platform_admin_client, mocker):
|
||||
def test_inbound_sms_admin(platform_admin_client, mocker):
|
||||
mocker.patch("app.inbound_number_client.get_all_inbound_sms_number_service", return_value=sample_inbound_sms)
|
||||
response = logged_in_platform_admin_client.get(url_for("main.inbound_sms_admin"))
|
||||
response = platform_admin_client.get(url_for("main.inbound_sms_admin"))
|
||||
assert response.status_code == 200
|
||||
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
|
||||
Reference in New Issue
Block a user