Skip to content

Commit

Permalink
docs(speedtest): update incorrect documentation
Browse files Browse the repository at this point in the history
Each provider that implement the Provider interface expect to receive a
driver which should implement DriverInterface.

Doc was not updated.

Signed-off-by: Lionel Hubaut <lionel.hubaut@tessares.net>
  • Loading branch information
lion24 committed Apr 19, 2024
1 parent 9b4049a commit 0b837d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/speed_sleuth/provider/speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ class Speedtest(Provider):
results as screenshots.
Attributes:
browser: A browser instance that adheres to the BrowserInterface, used
for web interactions.
driver: A driver instance that adheres to the DriverInterface, used
for web interactions with the browser.
"""

def __init__(self, driver: DriverInterface):
"""Initializes the Speedtest provider with a browser instance.
Parameters:
browser: The browser instance through which the speed test will be
conducted on speedtest.net.
driver: A driver instance that adheres to the DriverInterface, used
for web interactions with the browser.
"""
super().__init__(driver)
Expand Down

0 comments on commit 0b837d4

Please sign in to comment.