mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 23:23:27 -05:00
flake 8
This commit is contained in:
@@ -2,6 +2,7 @@ import multiprocessing
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
import gunicorn
|
import gunicorn
|
||||||
|
|
||||||
# Let gunicorn figure out the right number of workers
|
# Let gunicorn figure out the right number of workers
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
|
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|||||||
@@ -113,9 +113,8 @@ def test_all_activity(
|
|||||||
assert report_cell == "N/A", f"Expected report 'N/A', but got '{report_cell}'"
|
assert report_cell == "N/A", f"Expected report 'N/A', but got '{report_cell}'"
|
||||||
|
|
||||||
status_cell = cells[5].get_text(strip=True)
|
status_cell = cells[5].get_text(strip=True)
|
||||||
assert (
|
assert "1 delivered" in status_cell, f"Expected status to contain '1 delivered', but got '{status_cell}'"
|
||||||
"1 delivered" in status_cell and "5 failed" in status_cell
|
assert "5 failed" in status_cell, f"Expected status to contain '5 failed', but got '{status_cell}'"
|
||||||
), f"Expected status to contain '1 delivered' and '5 failed', but got '{status_cell}'"
|
|
||||||
|
|
||||||
|
|
||||||
def test_all_activity_no_jobs(client_request, mocker):
|
def test_all_activity_no_jobs(client_request, mocker):
|
||||||
|
|||||||
Reference in New Issue
Block a user