Get rid of sr_val in SysrepoAccess::execute

This means that NetconfAccess and SysrepoAccess work the same, so the
ifdef can go.

Change-Id: I70b91c31e1391de5db602553b83e98f16c939364
diff --git a/tests/datastore_access.cpp b/tests/datastore_access.cpp
index 9eeed2a..6c640fd 100644
--- a/tests/datastore_access.cpp
+++ b/tests/datastore_access.cpp
@@ -16,7 +16,7 @@
 using OnInvalidSchemaPathCreate = DatastoreException;
 using OnInvalidSchemaPathDelete = DatastoreException;
 using OnInvalidSchemaPathMove = sysrepo::sysrepo_exception;
-using OnInvalidRpcPath = sysrepo::sysrepo_exception;
+using OnInvalidRpcPath = std::runtime_error;
 using OnInvalidRpcInput = sysrepo::sysrepo_exception;
 using OnKeyNotFound = void;
 using OnExec = void;
@@ -1042,10 +1042,8 @@
         DatastoreAccess::Tree input, output;
 
         output = {
-#ifdef netconf_BACKEND
             {"/example-schema:ports[name='A']", special_{SpecialValue::List}},
             {"/example-schema:ports[name='A']/name", enum_{"A"}},
-#endif
             {"success", true}
         };
         datastore->createItem("/example-schema:ports[name='A']");