Plugin-related unit tests depend on import and test order

Bug #1866666 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Ivan Kolodyazhny

Bug Description

PluginPanelTests and PanelGroupPluginTests depend on test and import order, so you can't run them whit all the rest unit tests.

Related bug: https://bugs.launchpad.net/horizon/+bug/1809983

Ivan Kolodyazhny (e0ne)
Changed in horizon:
assignee: nobody → Ivan Kolodyazhny (e0ne)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to horizon (master)

Reviewed: https://review.opendev.org/711195
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d6fe0170ee2bc14eab27f8bdf0deb57706b85bb7
Submitter: Zuul
Branch: master

commit d6fe0170ee2bc14eab27f8bdf0deb57706b85bb7
Author: Oleksii Petrenko <email address hidden>
Date: Wed Mar 4 12:15:34 2020 +0200

    Change horizon test runner to pytest

    Changes test invocation from `manage.py test` to `pytest`. Adds addtitional
    test requirements like pytest, pytest-django, pytest-html. Adds
    `pytest.mark` alongside django's test `tag`. Adds posibility to export test
    results into xml and html formats.

    Depends-On: https://review.opendev.org/#/c/712315/
    Related-Bug: #1866666
    Co-Authored-By: Ivan Kolodyazhny <email address hidden>
    Change-Id: Idb6e63cd23ca2ba8ca56f36eb8b63069bd211944

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.