diff --git a/inventory_provider/__init__.py b/inventory_provider/__init__.py
index cdfb86083f614d423ef75faa187b17fb76609e07..92da8b9e46a2aad1689908c54bb75758107e6d10 100644
--- a/inventory_provider/__init__.py
+++ b/inventory_provider/__init__.py
@@ -35,6 +35,9 @@ def create_app():
     from inventory_provider.routes import poller
     app.register_blueprint(poller.routes, url_prefix='/poller')
 
+    from inventory_provider.routes import testing
+    app.register_blueprint(testing.routes, url_prefix='/testing')
+
     if "SETTINGS_FILENAME" not in os.environ:
         assert False, \
             "environment variable SETTINGS_FILENAME' must be defined"
diff --git a/inventory_provider/routes/testing.py b/inventory_provider/routes/testing.py
new file mode 100644
index 0000000000000000000000000000000000000000..039ea410a8c4a5591aac29d9f0d95e331c274c7e
--- /dev/null
+++ b/inventory_provider/routes/testing.py
@@ -0,0 +1,11 @@
+from flask import Blueprint, Response
+from inventory_provider.routes import common
+
+routes = Blueprint("inventory-data-testing-support-routes", __name__)
+
+
+@routes.route("/flushdb", methods=['GET', 'POST'])
+@common.require_accepts_json
+def flushdb():
+    common.get_redis().flushdb()
+    return Response('OK')