-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handler tests. Sync sensor/wsgi with gunicorn/config.py
- Loading branch information
Showing
4 changed files
with
128 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from src.initialization import load_preselector | ||
|
||
|
||
def test_load_preselector(): | ||
preselector = load_preselector( | ||
preselector = load_preselector(preselector_config= | ||
{"name": "test", "base_url": "http://127.0.0.1"}, | ||
"its_preselector.web_relay_preselector", | ||
"WebRelayPreselector", | ||
module="its_preselector.web_relay_preselector", | ||
preselector_class_name = "WebRelayPreselector", sensor_definition={} | ||
) | ||
assert preselector is not None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters