HomeSoftware Heritage

Refactor unit tests (#313)

Description

Refactor unit tests (#313)

  • Refactor unit tests in favor of on_supported_os()
  • Fix legacy facts
  • Use variable os_facts to prevent overlap
  • Use if/unless syntax for better readability
  • Refactor service related unit tests

Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>

  • Replace common_params with calling super

Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>

Details

Provenance
Dennis Hoppe <github@debian-solutions.de>Authored on May 28 2020, 11:36 AM
GitHub <noreply@github.com>Committed on May 28 2020, 11:36 AM
vsellierPushed on Sep 25 2020, 11:27 AM
Parents
R143:c0040b2c0304: Merge pull request #304 from dhoppe/add_reference
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed R143:75c29abb538d: Refactor unit tests (#313) (authored by Dennis Hoppe <github@debian-solutions.de>).May 28 2020, 11:36 AM