fix: implement backend testing amendments and atomic source publication
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m16s
Mostovik Backend CI/CD / Deploy dev (push) Has been cancelled
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been cancelled
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been cancelled
Some checks failed
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m16s
Mostovik Backend CI/CD / Deploy dev (push) Has been cancelled
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been cancelled
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Has been cancelled
This commit is contained in:
@@ -125,9 +125,10 @@ class SourcesApiE2ETest(APITestCase):
|
||||
self.assertEqual(cards["financial-indicators"]["records_count"], 1)
|
||||
self.assertEqual(cards["planned-inspections"]["status"], "in_progress")
|
||||
self.assertEqual(cards["planned-inspections"]["progress"], 55)
|
||||
self.assertEqual(cards["public-procurements"]["status"], "error")
|
||||
self.assertEqual(cards["public-procurements"]["status"], "failed")
|
||||
self.assertEqual(
|
||||
cards["public-procurements"]["error_message"], "download error"
|
||||
cards["public-procurements"]["error_message"],
|
||||
"Не удалось обновить данные. Повторите попытку позже.",
|
||||
)
|
||||
|
||||
minprom_card = detail_response.data["data"]
|
||||
@@ -142,7 +143,7 @@ class SourcesApiE2ETest(APITestCase):
|
||||
|
||||
statuses = {item["slug"]: item for item in statuses_response.data["data"]}
|
||||
self.assertEqual(statuses["planned-inspections"]["progress"], 55)
|
||||
self.assertEqual(statuses["public-procurements"]["status"], "error")
|
||||
self.assertEqual(statuses["public-procurements"]["status"], "failed")
|
||||
|
||||
def test_products_endpoint_supports_filter_and_search(self):
|
||||
target = IndustrialProductRecordFactory(
|
||||
|
||||
Reference in New Issue
Block a user