diff --git a/integration-tests/README.md b/integration-tests/README.md index 71686f0b..5824f39b 100644 --- a/integration-tests/README.md +++ b/integration-tests/README.md @@ -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: diff --git a/integration-tests/test_checkin.py b/integration-tests/test_checkin.py index e6b6f1f5..e9575a74 100644 --- a/integration-tests/test_checkin.py +++ b/integration-tests/test_checkin.py @@ -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") @@ -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) diff --git a/integration-tests/test_collection.py b/integration-tests/test_collection.py index 4de95478..66302c6b 100644 --- a/integration-tests/test_collection.py +++ b/integration-tests/test_collection.py @@ -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 diff --git a/integration-tests/test_connection.py b/integration-tests/test_connection.py index 57977a3b..1070c93c 100644 --- a/integration-tests/test_connection.py +++ b/integration-tests/test_connection.py @@ -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 diff --git a/integration-tests/test_upload.py b/integration-tests/test_upload.py index 8e2e27d9..87a05325 100644 --- a/integration-tests/test_upload.py +++ b/integration-tests/test_upload.py @@ -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 @@ -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)