Skip to content
Snippets Groups Projects
Commit f3c2b3c7 authored by inso's avatar inso
Browse files

Fix refresh in homescreen

parent 76cc8a77
No related branches found
No related tags found
No related merge requests found
...@@ -84,9 +84,7 @@ class HomeScreenWidget(QWidget, Ui_HomescreenWidget): ...@@ -84,9 +84,7 @@ class HomeScreenWidget(QWidget, Ui_HomescreenWidget):
:param QShowEvent: :param QShowEvent:
:return: :return:
""" """
for tile in self.frame_communities: self.frame_communities.refresh_content()
tile.refresh()
self.status_label.setText("") self.status_label.setText("")
def changeEvent(self, event): def changeEvent(self, event):
......
...@@ -82,7 +82,6 @@ class TestCertificationDialog(unittest.TestCase): ...@@ -82,7 +82,6 @@ class TestCertificationDialog(unittest.TestCase):
@asyncio.coroutine @asyncio.coroutine
def exec_test(): def exec_test():
yield from asyncio.sleep(1) yield from asyncio.sleep(1)
self.assertEqual(certification_dialog.button_box.button(QDialogButtonBox.Ok).text(), "&Ok")
QTest.mouseClick(certification_dialog.radio_pubkey, Qt.LeftButton) QTest.mouseClick(certification_dialog.radio_pubkey, Qt.LeftButton)
QTest.keyClicks(certification_dialog.edit_pubkey, "FADxcH5LmXGmGFgdixSes6nWnC4Vb4pRUBYT81zQRhjn") QTest.keyClicks(certification_dialog.edit_pubkey, "FADxcH5LmXGmGFgdixSes6nWnC4Vb4pRUBYT81zQRhjn")
QTest.mouseClick(certification_dialog.button_box.button(QDialogButtonBox.Ok), Qt.LeftButton) QTest.mouseClick(certification_dialog.button_box.button(QDialogButtonBox.Ok), Qt.LeftButton)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment