Skip to content

Commit

Permalink
chore: typo fixes
Browse files Browse the repository at this point in the history
- "checkin" -> "check-in"
- "occured" -> "occurred"
- "poining" -> "pointing"
- "shoud" -> "should"
- "successfull" -> "successful"
  • Loading branch information
ptoscano committed Sep 19, 2024
1 parent 1612df8 commit 2034d8b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `test-case` requires:
- The output XML file path (will be overwritten if exists)


There shoud also be a custom config file specified for pythonpath for Betelgeuse to correctly read all the custom fields in the docstrings. The file is saved in integration-tests/custom_betelgeuse_config.py
There should also be a custom config file specified for pythonpath for Betelgeuse to correctly read all the custom fields in the docstrings. The file is saved in integration-tests/custom_betelgeuse_config.py

Example:

Expand Down
4 changes: 2 additions & 2 deletions integration-tests/test_checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_ultralight_checkin(insights_client, test_config):
stale_ts_before_checkin = data["results"][0]["stale_timestamp"]
updated_ts_before_checkin = data["results"][0]["updated"]

# Performing an ultra light checkin
# Performing an ultra light check-in
insights_client.run("--checkin")
insights_client.run("--check-results")

Expand All @@ -36,7 +36,7 @@ def test_ultralight_checkin(insights_client, test_config):


def test_client_checkin_unregistered(insights_client):
"""Call insights client checkin with unregistered client."""
"""Call insights client check-in with unregistered client."""
with contextlib.suppress(Exception):
insights_client.unregister()
assert conftest.loop_until(lambda: not insights_client.is_registered)
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_output_file_with_relative_path(insights_client):
:tier: Tier 1
:steps:
1. Define a relative path pointing to a directory
2. Run insights-client with the --output file option poining to
2. Run insights-client with the --output file option pointing to
this relative path
3. Verify that the command fails with a return code of 1
4. Verify the error message says that --output
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_connection(insights_client):
:title: Test connection
:description:
This test verifies that the --test-connection option works
properly, confirming successfull connection
properly, confirming successful connection
:tier: Tier 1
:steps:
1. Run insights-client with --test-connection option
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_upload_pre_collected_archive(insights_client, tmp_path):
2. Run insights-client in an offline mode to generate an archive
and save it
3. Run the insights-client with the --payload option and valid --content-type
4. Verify the successfull upload of the archive
4. Verify the successful upload of the archive
:expectedresults:
1. Insights-client is registered
2. The archive is successfully generated and saved
Expand Down Expand Up @@ -248,7 +248,7 @@ def test_retries_not_happening_on_unrecoverable_errors(insights_client):
2. Archive is saved
3. The command is run
4. The process fails with an appropriate message
5. No retries occured
5. No retries occurred
"""
reg_result = insights_client.run("--register", "--keep-archive")
assert conftest.loop_until(lambda: insights_client.is_registered)
Expand Down

0 comments on commit 2034d8b

Please sign in to comment.