Skip to content

Commit

Permalink
Fix misspellings
Browse files Browse the repository at this point in the history
misspell -i mosquitto .
izuma_systest_lib/cloud/libraries/config_management.py:27:38: "managment" is a misspelling of "management"
izuma_systest_lib/fixtures/edge_fixtures.py:83:45: "konfiguration" is a misspelling of "configuration"
izuma_systest_lib/fixtures/edge_fixtures.py:109:45: "konfiguration" is a misspelling of "configuration"
izuma_systest_lib/tools.py:103:13: "Comparision" is a misspelling of "Comparison"
  • Loading branch information
JanneKiiskila committed Oct 20, 2023
1 parent 2c60738 commit fcc11af
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Add marker `cpu_notif_test` to CPU resource notification test. This allows you to skip that test with `pytest -m "not cpu_notif_test"`. You can skip that and reboot test with `-m 'not (reboot_test or cpu_notif_test)'`.
- Add marker `reboot_test` to LwM2M test that resets device. This allows you to skip that test with `pytest -m "not reboot_test"`.
- Move `pytest.ini` from `tests`-folder to root, this way to the custom marker gets taken into account.
- Upgrade `pytest` to 7.3.1 and `pytest-html` 3.2.0 to resolve Python 3.10 compatiblity issue.
- Upgrade `pytest` to 7.3.1 and `pytest-html` 3.2.0 to resolve Python 3.10 compatibility issue.
- Add *.xml files to `.gitignore`.

## 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion izuma_systest_lib/cloud/libraries/config_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

class EdgeConfigManagementAPI:
"""
A class that provides edge config managment.
A class that provides edge config management.
https://github.com/PelionIoT/wigwag-cloud-relay-configs/blob/master/swagger.yaml
"""

Expand Down
6 changes: 3 additions & 3 deletions izuma_systest_lib/fixtures/edge_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def kube_config_file_path(tc_config_data):
utils.execute_local_command('kubectl config use-context edge-k8s')
log.debug('Temporary kubernetes configuration successfully created and in use')
else:
log.debug('No need to create temporary kubernetes konfiguration')
log.debug('No need to create temporary kubernetes configuration')
yield kube_config_path

# Remove temporary configuration when running outside Jenkins
Expand All @@ -80,7 +80,7 @@ def edge(kube_config_file_path, tc_config_data):
"""
Initializes connection to edge via RaaS or locally (subprocess) based on configuration.
Release connection when not needed anymore
:param kube_config_file_path: Kubernetes konfiguration file path
:param kube_config_file_path: Kubernetes configuration file path
:param tc_config_data: Test case config
:return: resource
"""
Expand All @@ -106,7 +106,7 @@ def kubectl(edge): # pylint: disable=unused-argument
def kaas(kube_config_file_path):
"""
Open connection to the kubernets as a service (KAAS) using kubernets python sdk
:param kube_config_file_path: Kubernetes konfiguration file path
:param kube_config_file_path: Kubernetes configuration file path
:return: api_client
"""
custom_configuration = Configuration()
Expand Down
2 changes: 1 addition & 1 deletion izuma_systest_lib/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _assert_status(expected_resp, response):
Status code comparison
:param expected_resp: Expected response, one value or list of values
:param response: Request response
:return: Comparision result
:return: Comparison result
"""
if isinstance(expected_resp, list):
return response.status_code in expected_resp
Expand Down

0 comments on commit fcc11af

Please sign in to comment.