__init__ for testing packages are too broad

Bug #1729593 reported by Sergio Schvezov on 2017-11-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
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).

Leo Arias (elopio) wrote :

This will be fixed in https://github.com/snapcore/snapcraft/pull/1638

snapcraft/tests/__init__.py will have nothing.
Everything that's shared between unit and integration tests will be a module in snapcraft/tests. Things that are specific will be in snapcraft/tests/unit or snapcraft/tests/integration.

snaps_tests will die, so I will keep moving tests out of it.

Changed in snapcraft:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Leo Arias (elopio)
tags: added: tests
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers