We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab30193 commit fc5bcc5Copy full SHA for fc5bcc5
tests/test_inspect.py
@@ -26,6 +26,14 @@ def test_relations(self):
26
attrs_whitelist=['*'], attrs_blacklist=[])
27
self.assertIsInstance(graph, oerplib.service.inspect.relations.Relations)
28
29
+ def test_relations_maxdepth_null(self):
30
+ graph = self.oerp.inspect.relations(['res.users'], maxdepth=0)
31
+ self.assertIsInstance(graph, oerplib.service.inspect.relations.Relations)
32
+
33
+ def test_relations_maxdepth_negative(self):
34
+ graph = self.oerp.inspect.relations(['res.users'], maxdepth=-1)
35
36
37
def test_dependencies(self):
38
graph = self.oerp.inspect.dependencies()
39
self.assertIsInstance(
0 commit comments