Commit 71bb38b6 authored by Alexander Semke's avatar Alexander Semke
Browse files

[python] trying to fix the test failing on CI.

parent d5685223
Pipeline #152345 passed with stage
in 5 minutes and 21 seconds
......@@ -308,8 +308,11 @@ void TestPython3::testInterrupt()
QCOMPARE(e2->status(), Cantor::Expression::Interrupted);
auto* e = evalExp(QLatin1String("2+2"));
QVERIFY(e != nullptr);
if (session()->status() == Cantor::Session::Running)
waitForSignal(session(), SIGNAL(statusChanged(Cantor::Session::Status)));
QCOMPARE(e->status(), Cantor::Expression::Done);
QVERIFY(e->result());
QCOMPARE(e->result()->data().toString(), QLatin1String("4"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment