Skip to content

Refactor tests to remove googles internal libarys #4

@ghost

Description

Currently the tests for the project requires the use of googles internal library's. Without access to these library's a developer cannot run the tests against the codebase. I prepose we change these dependency's to equivalent open source ones.

https://github.com/opiproject/smbios-validation-tool/blob/main/smbios_validation_tool/validator_test.py#L22
https://github.com/opiproject/smbios-validation-tool/blob/main/smbios_validation_tool/error_bucket_test.py#L4
https://github.com/opiproject/smbios-validation-tool/blob/main/smbios_validation_tool/rules_test.py#L23
https://github.com/opiproject/smbios-validation-tool/blob/main/smbios_validation_tool/matcher_test.py#L23

The three packages are.

from google3.pyglib import resources
from google3.testing.pybase import googletest
from google3.testing.pybase import parameterized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions