Updates the latest test to use status codes

This commit is contained in:
Trenton H
2023-02-20 08:36:22 -08:00
parent a6e2708605
commit 8df1324afd
2 changed files with 5 additions and 9 deletions

View File

@@ -1331,7 +1331,7 @@ class TestDocumentApi(DirectoriesMixin, APITestCase):
{"document": f, "archive_serial_number": 500},
)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.status_code, status.HTTP_200_OK)
m.assert_called_once()