Skip to content

Conversation

jrichardsen
Copy link

Description

Since #1249, the NFSProvider no longer inherits from BaseProvider and no longer has the internal and external properties. This leads to an error with ProviderGenericExport which is meant for subclasses of BaseProvider and, thus, expects these properties to be present.

This PR removes NFSProvider from the ProviderGenericExport and implements a new NFSProviderExport instead.

Checklist

  • Documentation for the feature
  • Tests for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • Add a section on how to use the feature to doc/usage.rst
  • Add a section on how to use the feature to doc/development.rst
  • PR has been tested
  • Man pages have been regenerated

NFSProvider does no longer inherit from `BaseProvider` as of labgrid-project#1249 and,
as such, does not have the corresponding `internal` and `external`
parameters anymore. This leads to an error with `ProviderGenericExport`
which expects these parameters (as it is meant for subclasses of
`BaseProvider`).

Signed-off-by: jrichardsen <[email protected]>
Add `NFSProviderExport` for exporting `NFSProvider` to
`RemoteNFSProvider`.

Signed-off-by: jrichardsen <[email protected]>
@Bastian-Krause
Copy link
Member

The tests introduced here succeed even without the other changes. Why is that?

@Bastian-Krause Bastian-Krause added the needs author info Requires more information from the PR/Issue author label Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs author info Requires more information from the PR/Issue author
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants