Add check if BrowseName already exists in ParentNode (#306)
* Add check if BrowseName already exists in ParentNode * Replace try-except blocks Log error in check_method, not everywhere else * Remove checks, because they are not cought if UaClient sends addNode request * Add test to try identifing if BrowseName of new Node is child of ParentNode. If yes, raise error.If Node is root, ignore test. * Fix tests, because multiple identical BrowseNames with the same parent Node is not allowed. * Remove exception and ignore root Node directly * Fix test by change Browsename * Tidy up codeformat * Try to get all sorts of NodeId child classes Delete root Node parent check * Remove empty aspace arg Check if Reference is a HasChild Reference or a subtype of it * Change pytest fixtures to function to not interfere with other tests Add check if Nodes are in the same Namespace as well Add duplicated browsename test * Seperate between root Node or others As well pushing test again... * Add more Meta information about Node positions * Add more Meta information about Nodes which seems to fail * Change Browsename since both Nodes contain the same Browsename * Replace dirty print with log * Register Namespace and import Nodes, because Tests have been interfered eachother * Try if test interferes with others * Add check to catch faulty preperation * Revert "Try if test interferes with others" This reverts commit b0ac20dc2e898a70a7dedb433da9b88dfb2dc3fd. Revert "Add check to catch faulty preperation" This reverts commit c0e5ff6c628076b99d972778fef2dd33132a29a2. * Change parallel jobs to stages, to reduce the load from Travis * Check if just this test causes problems * Fix typo in decorator of pytest * Change object name Delete some nodes after test, to be reusable in other Undo scope back to module * Add more Node cleanups * Add cleanup if xml was imported * Add more Node cleanups to avoid duplicated browsenames while import xml in tests * Fix list issue in test * Add even more necessary node cleanups * Add more Node cleanups * Remove faulty await * Add Node cleanup for imported xml Nodes * Try to get rid of imported nodes from xml * Getting rid of imported nodes from xml * Revert Travis Some PEP8 cleanups * Fix some changes back to master branch state * Revert pytest changes * Avoid multiple Nodes with same Browsename in test server * Add some more Node cleanups * Revert wrong changes * Switch try/except with if ... not/else statement * Remove empty parent check Replace explicit in _nodes[] check with a general in _aspace[] check
Showing
Please register or sign in to comment