Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3006.x] [code-coverage] Added support for smb testing, and ported smb test from unittest to pytest #65570

Closed
wants to merge 32 commits into from

Conversation

dmurphy18
Copy link
Contributor

What does this PR do?

Added support for smb testing, and ported smb test from unittest to pytestd, adding smbprotocol, and pyspnego pinned dependencies.
Need to add samba support to Golden Images for smbd to be available

What issues does this PR fix or reference?

Fixes:#64747

Previous Behavior

SMB testing was skipped due to smbprotocol and smbd not being available

New Behavior

SMB testing is now enabled, once smbd (samba) is added to Golden Images.
Testing is on Linux platforms only.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@dmurphy18 dmurphy18 requested a review from a team as a code owner November 15, 2023 19:57
@dmurphy18 dmurphy18 requested review from whytewolf and removed request for a team November 15, 2023 19:57
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title code-coverage Added support for smb testing, and ported smb test from unittest to pytest [3006.x] code-coverage Added support for smb testing, and ported smb test from unittest to pytest Nov 15, 2023
@dmurphy18 dmurphy18 changed the title [3006.x] code-coverage Added support for smb testing, and ported smb test from unittest to pytest [3006.x] [code-coverage] Added support for smb testing, and ported smb test from unittest to pytest Nov 15, 2023
requirements/static/ci/common.in Outdated Show resolved Hide resolved
tests/pytests/integration/utils/test_smb.py Outdated Show resolved Hide resolved
tests/pytests/integration/utils/test_smb.py Outdated Show resolved Hide resolved
tests/pytests/integration/utils/test_smb.py Outdated Show resolved Hide resolved
tests/pytests/integration/utils/test_smb.py Outdated Show resolved Hide resolved
tests/pytests/integration/utils/test_smb.py Outdated Show resolved Hide resolved
@dmurphy18
Copy link
Contributor Author

Closing this in favor of #66227 which doesn't have the Py 3.7 issues and clashes in requirements

@dmurphy18 dmurphy18 closed this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants