avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
342 stars 340 forks source link

Remove duplicities in dependencies #5905

Closed richtja closed 5 months ago

richtja commented 5 months ago

This creates a Dependency class to make dependencies hashable. Thanks to this change, we can easily find duplicates and remove them. This change is really necessary for Job dependencies, where the duplicates can be easily created by adding the same dependency to a test and job.

richtja commented 5 months ago

Hi @clebergnu, I have fixed the typos and move the Dependency class to avocado.core.dependencies.dependency please have a look.