diff --git a/test/test_job_routes.py b/test/test_job_routes.py
index 427ceafd39d521d88eb848b450add5258745ba21..237d304cc7fcf23192c73a18478c5c2c078720b6 100644
--- a/test/test_job_routes.py
+++ b/test/test_job_routes.py
@@ -1,6 +1,7 @@
 import json
 import jsonschema
 
+from inventory_provider.tasks.common import DB_LATCH_SCHEMA
 DEFAULT_REQUEST_HEADERS = {
     "Content-type": "application/json",
     "Accept": ["application/json"]
@@ -123,3 +124,13 @@ def test_check_task_status_exception(client, mocker):
     assert not status['success']
     assert status['result']['error type'] == 'AssertionError'
     assert status['result']['message'] == 'test error message'
+
+
+def test_latchdb(client, mocked_redis):
+
+    rv = client.post(
+        'jobs/latchdb',
+        headers=DEFAULT_REQUEST_HEADERS)
+    assert rv.status_code == 200
+    latch = json.loads(rv.data.decode('utf-8'))
+    jsonschema.validate(latch, DB_LATCH_SCHEMA)