Skip to content

Commit

Permalink
test: make window active
Browse files Browse the repository at this point in the history
Needed to ensure paint method gets executed
  • Loading branch information
astaric committed May 11, 2018
1 parent 8cad7aa commit f6381d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Orange/widgets/visualize/tests/test_owboxplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import numpy as np
from AnyQt.QtCore import QItemSelectionModel
from AnyQt.QtTest import QTest

from Orange.data import Table, ContinuousVariable, StringVariable, Domain
from Orange.widgets.visualize.owboxplot import OWBoxPlot, FilterGraphicsRectItem
Expand Down Expand Up @@ -158,6 +159,7 @@ def test_label_overlap(self):
self.__select_variable("chest pain")
self.__select_group("gender")
self.widget.show()
QTest.qWait(3000)
self.widget.hide()

def _select_data(self):
Expand Down

0 comments on commit f6381d5

Please sign in to comment.