Skip to content
Snippets Groups Projects
Commit 7671bdea authored by Carlos Natalino Da Silva's avatar Carlos Natalino Da Silva
Browse files

Setting a fixed localhost address to the service.

parent 7793c871
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!210Fixing issues with the WebUI and the optical cybersecurity module
...@@ -43,7 +43,7 @@ def optical_attack_detector_service(): ...@@ -43,7 +43,7 @@ def optical_attack_detector_service():
@pytest.fixture(scope="session") @pytest.fixture(scope="session")
def optical_attack_detector_client(optical_attack_detector_service: OpticalAttackDetectorService): def optical_attack_detector_client(optical_attack_detector_service: OpticalAttackDetectorService):
_client = OpticalAttackDetectorClient( _client = OpticalAttackDetectorClient(
host=optical_attack_detector_service.bind_address, host="127.0.0.1",
port=optical_attack_detector_service.bind_port, port=optical_attack_detector_service.bind_port,
) )
yield _client yield _client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment