Skip to content

Commit

Permalink
Merge pull request #95 from Ostorlab/fix/remove-unused-fixtures
Browse files Browse the repository at this point in the history
Remove unused fixtures
  • Loading branch information
amine3 authored Dec 5, 2024
2 parents 081ce08 + 4098ba3 commit 4626d01
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,6 @@ def test_agent() -> whatweb_agent.AgentWhatWeb:
return whatweb_agent.AgentWhatWeb(agent_definition, agent_settings)


@pytest.fixture()
def scan_message_ipv4_with_mask8() -> m.Message:
"""Creates a message of type v3.asset.ip.v4 to be used by the agent for testing purposes."""
selector = "v3.asset.ip.v4"
msg_data = {"host": "192.168.1.17", "mask": "8", "version": 4}
return m.Message.from_data(selector, data=msg_data)


@pytest.fixture()
def scan_message_ipv4_with_mask16() -> m.Message:
"""Creates a message of type v3.asset.ip.v4 to be used by the agent for testing purposes."""
Expand Down

0 comments on commit 4626d01

Please sign in to comment.