__init__ for testing packages are too broad

Bug #1729593 reported by Sergio Schvezov
6
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).

Tags: tests
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.