diff --git a/conftest.py b/conftest.py
index b843da6..d6f907d 100644
--- a/conftest.py
+++ b/conftest.py
@@ -1,14 +1,12 @@
 from hypothesis import settings
 
 # define tests profile. Full documentation is at:
 # https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles
 settings.register_profile("fast", max_examples=5, deadline=5000)
 settings.register_profile("slow", max_examples=20, deadline=5000)
 
 # Modules that should not be loaded by --doctest-modules
 collect_ignore = [
     # NotImplementedError: save_group is not supported by this backend.
     'swh/scheduler/tests/tasks.py',
-    # OSError: Configuration file must be defined
-    'swh/scheduler/api/wsgi.py',
 ]
diff --git a/swh/scheduler/api/wsgi.py b/swh/scheduler/api/wsgi.py
deleted file mode 100644
index 02c4901..0000000
--- a/swh/scheduler/api/wsgi.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright (C) 2019  The Software Heritage developers
-# See the AUTHORS file at the top-level directory of this distribution
-# License: GNU General Public License version 3, or any later version
-# See top-level LICENSE file for more information
-
-from .server import make_app_from_configfile
-
-application = make_app_from_configfile()