Since commit operation does not fail when no transaction is
present, remove test expecting exception in such case.
port of:
https://git.opendaylight.org/gerrit/#/c/32598/
Change-Id: I4b025ae6ed73bbbdde928920b5f5f06d1115f482
Signed-off-by: Tomas Cere <tcere@cisco.com>
assertEquals(3 + 3, afterReplace);
}
- @Test(expected = NetconfDocumentedException.class)
- public void testEx() throws Exception {
-
- commit();
- }
-
@Test
- public void testEx2() throws Exception {
+ public void testEx() throws Exception {
assertContainsElement(discard(), readXmlToElement("<ok xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"/>"));
}