__init__ for testing packages are too broad
Bug #1729593 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
In Progress
|
Medium
|
Leo Arias |
Bug Description
This prevents importing modules for things like snaps_tests or integration_tests as we may or may not have all the dependent modules at that time (e.g.; pyramid).
To post a comment you must log in.
This will be fixed in https:/ /github. com/snapcore/ snapcraft/ pull/1638
snapcraft/ tests/_ _init__ .py will have nothing. tests/unit or snapcraft/ tests/integrati on.
Everything that's shared between unit and integration tests will be a module in snapcraft/tests. Things that are specific will be in snapcraft/
snaps_tests will die, so I will keep moving tests out of it.