Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tests for Astarte group management, focusing on the following actions:
Additionally, updates are made to the resources.py file to include a mygroup variable for group names, and the astarte-ctl-test file is enhanced with:
These changes are being made to:
Ensure that the functionality for creating and managing groups in Astarte is correctly implemented and tested.
Improve the reliability of end-to-end testing by automating the device ID generation and supporting multiple test environments via E2E_DEVICE_TEST_2.
Enable more comprehensive testing of group-related features in Astarte.
Tests were added to verify the creation and listing of groups, as well as the ability to add, list, and remove devices from these groups.
A mygroup variable was added to resources.py to make group names more easily configurable and reusable across tests.
Modifications to astarte-ctl-test include adding a procedure to dynamically generate device IDs for the E2E tests, and introducing logic to handle the new E2E_DEVICE_TEST_2 environment variable to support additional device testing.