diff --git a/tests/test_cli.py b/tests/test_cli.py
index 830b89a61bf62ae214744ba5b847b6880912c2fb..6e494d36d40ed154717e1f748256a9ab1c58aeed 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -16,7 +16,6 @@
 import pytest
 import click.testing
 import json
-import mongoengine
 import datetime
 
 from nomad import utils, search, processing as proc, files