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

Fix subtargets for dom0 tests #635

Merged
merged 1 commit into from
Nov 5, 2020
Merged

Fix subtargets for dom0 tests #635

merged 1 commit into from
Nov 5, 2020

Conversation

eloquence
Copy link
Member

Status

Ready for review

Description of Changes

Fixes #622

Use of the discover subcommand for test discovery ensures the "base" module is correctly imported.

Testing

  1. Run make test-base in dom0 without the changes in this PR
  1. Run make clone against this branch, then run the individual subtargets for tests declared in the Makefile.
  • Observe that all tests are now running as expected

Checklist

  • All tests (make test) pass in dom0 of a Qubes install
  • This PR adds/removes files, and includes required updates to the packaging
    logic in MANIFEST.in and rpm-build/SPECS/securedrop-workstation-dom0-config.spec

Use of the discover subcommand for test discovery ensures the
"base" module is correctly imported.
Copy link
Contributor

@emkll emkll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @eloquence, confirmed that I can reproduce the issue and that all test targets are now working

@emkll emkll merged commit 56b84a3 into main Nov 5, 2020
@legoktm legoktm deleted the 622-fix-subtargets branch May 28, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All test subtargets fail due to import error
2 participants