[apiConformancForce] creating plugin before setting properties (#14856)

This commit is contained in:
Sofya Balandina 2023-01-12 10:57:22 +00:00 committed by GitHub
parent b4faeebc84
commit 051597cf2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ TEST_P(OVEmptyPropertiesTests, SetEmptyProperties) {
// Setting correct properties doesn't throw
TEST_P(OVPropertiesTests, SetCorrectProperties) {
core->get_versions(target_device);
OV_ASSERT_NO_THROW(core->set_property(target_device, properties));
}
@ -94,6 +95,7 @@ TEST_P(OVPropertiesTests, canSetPropertyAndCheckGetProperty) {
}
TEST_P(OVPropertiesIncorrectTests, SetPropertiesWithIncorrectKey) {
core->get_versions(target_device);
ASSERT_THROW(core->set_property(target_device, properties), ov::Exception);
}