Skip to content
Snippets Groups Projects
Commit d2fa05f6 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix functional tests

parent 9305257c
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ from PyQt5.QtCore import QLocale, Qt, QEvent ...@@ -5,7 +5,7 @@ from PyQt5.QtCore import QLocale, Qt, QEvent
from PyQt5.QtTest import QTest from PyQt5.QtTest import QTest
from PyQt5.QtWidgets import QDialogButtonBox, QMessageBox from PyQt5.QtWidgets import QDialogButtonBox, QMessageBox
from sakia.gui.sub.certification.controller import CertificationController from sakia.gui.sub.certification.controller import CertificationController
from ..helpers import click_on_top_message_box_button from tests.helpers import click_on_top_message_box_button
@pytest.mark.asyncio @pytest.mark.asyncio
......
...@@ -219,7 +219,7 @@ async def test_connect_pubkey_wrong_uid( ...@@ -219,7 +219,7 @@ async def test_connect_pubkey_wrong_uid(
assert ( assert (
connection_config_dialog.view.label_info.text() connection_config_dialog.view.label_info.text()
== """Your pubkey or UID is different on the network. == """Your pubkey or UID is different on the network.
Yours : {0}, the network : {1}""".format( Yours: {0}, the network: {1}""".format(
wrong_bob_uid.uid, bob.uid wrong_bob_uid.uid, bob.uid
) )
) )
......
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