Skip to content

Fix subtargets for dom0 tests#635

Merged
emkll merged 1 commit intomainfrom
622-fix-subtargets
Nov 5, 2020
Merged

Fix subtargets for dom0 tests#635
emkll merged 1 commit intomainfrom
622-fix-subtargets

Conversation

@eloquence
Copy link
Contributor

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