Skip to content

Commit

Permalink
Merge pull request #1206 from Noah-20/style-fixes
Browse files Browse the repository at this point in the history
Style fixes in comments
  • Loading branch information
sdushantha committed Dec 10, 2021
2 parents 00a4a65 + dc33c32 commit aef2711
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions sherlock/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def response_time(resp, *args, **kwargs):
kwargs -- Keyword arguments.
Return Value:
N/A
Nothing.
"""
resp.elapsed = monotonic() - start

Expand Down Expand Up @@ -532,7 +532,7 @@ def main():
f"You are running version {local_version}. Version {remote_version} is available at https://git.io/sherlock")

except Exception as error:
print(f"A problem occured while checking for an update: {error}")
print(f"A problem occurred while checking for an update: {error}")


# Argument check
Expand Down
26 changes: 13 additions & 13 deletions sherlock/tests/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_detect_true_via_message(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -44,7 +44,7 @@ def test_detect_false_via_message(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -71,7 +71,7 @@ def test_detect_true_via_status_code(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -98,7 +98,7 @@ def test_detect_false_via_status_code(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -125,7 +125,7 @@ def test_detect_true_via_response_url(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -152,7 +152,7 @@ def test_detect_false_via_response_url(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand Down Expand Up @@ -181,7 +181,7 @@ def test_coverage_false_via_response_url(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -199,7 +199,7 @@ def test_coverage_true_via_response_url(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -217,7 +217,7 @@ def test_coverage_false_via_status(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -235,7 +235,7 @@ def test_coverage_true_via_status(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -253,7 +253,7 @@ def test_coverage_false_via_message(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -271,7 +271,7 @@ def test_coverage_true_via_message(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if detection mechanism did not work as expected.
"""

Expand All @@ -288,7 +288,7 @@ def test_coverage_total(self):
self -- This object.
Return Value:
N/A.
Nothing.
Will trigger an assert if we do not have total coverage.
"""

Expand Down
8 changes: 4 additions & 4 deletions sherlock/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def setUp(self):
self -- This object.
Return Value:
N/A.
Nothing.
"""

#This ignores the ResourceWarning from an unclosed SSLSocket.
Expand Down Expand Up @@ -97,7 +97,7 @@ def username_check(self, username_list, site_list, exist_check=True):
or non-existence.
Return Value:
N/A.
Nothing.
Will trigger an assert if Username does not have the expected
existence state.
"""
Expand Down Expand Up @@ -154,7 +154,7 @@ def detect_type_check(self, detect_type, exist_check=True):
or non-existence.
Return Value:
N/A.
Nothing.
Runs tests on all sites using the indicated detection algorithm
and which also has test vectors specified.
Will trigger an assert if Username does not have the expected
Expand Down Expand Up @@ -208,7 +208,7 @@ def coverage_total_check(self):
self -- This object.
Return Value:
N/A.
Nothing.
Counts up all Sites with full test data available.
Will trigger an assert if any Site does not have test coverage.
"""
Expand Down

0 comments on commit aef2711

Please sign in to comment.