Skip to content

Switch service check in the testing for the no_settings scenario #5

@mcdonnnj

Description

@mcdonnnj

💡 Summary

We should uncomment the test logic to use the service.exists attribute when possible. We should remove the test that is currently in-place as a workaround when doing so.

Motivation and context

Currently a workaround is used to determine whether or not a service exists due to pytest-dev/pytest-testinfra#757. If pytest-dev/pytest-testinfra#754 is merged and a new release containing it is cut we can switch to using this more straightforward check.

Implementation notes

When uncommenting the code we should also remove the existing test as it will be superfluous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedThis issue or pull request is awaiting the outcome of another issue or pull requestimprovementThis issue or pull request will add or improve functionality, maintainability, or ease of usetestThis issue or pull request adds or otherwise modifies test code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions