mirror of https://github.com/nymea/nymea.git
Fix tests and xenial build
parent
16c4fa3345
commit
9f49187dc1
|
|
@ -245,7 +245,7 @@ void PythonIntegrationPlugin::deinitPython()
|
|||
PyEval_RestoreThread(s_mainThreadState);
|
||||
|
||||
// Tear down the python engine
|
||||
Py_FinalizeEx();
|
||||
Py_Finalize();
|
||||
|
||||
// Our main thread state is destroyed now
|
||||
s_mainThreadState = nullptr;
|
||||
|
|
|
|||
|
|
@ -291,8 +291,8 @@ void TestIntegrations::getThingClasses_data()
|
|||
QTest::addColumn<VendorId>("vendorId");
|
||||
QTest::addColumn<int>("resultCount");
|
||||
|
||||
QTest::newRow("vendor nymea") << nymeaVendorId << 14;
|
||||
QTest::newRow("no filter") << VendorId() << 14;
|
||||
QTest::newRow("vendor nymea") << nymeaVendorId << 17;
|
||||
QTest::newRow("no filter") << VendorId() << 17;
|
||||
QTest::newRow("invalid vendor") << VendorId("93e7d361-8025-4354-b17e-b68406c800bc") << 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue