Skip to content

Add 2 midges to test scanning in the test file #63

Description

@Gara-Dorta

If only one midge is present the proximity test in test.py fails. The tests should instead:

  • Take two midges as input
  • Set the id and group of both
  • Check that scanned proximity data of one has the expected id and group from the previous step

This approach makes it that the scan test should always pass and also adds a test for the id and group, which is not tested as of now.

The last step requires expanding the returned data of the scanning function to include the id and group and not only the RSSI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions