Exemplo n.º 1
0
 def test_baredoc_list_modules_args(self):
     """
     test baredoc execution module listing with args
     """
     ret = baredoc.list_modules()
     assert "get_value" in ret["xml"][0]
     assert "file" in ret["xml"][0]["get_value"]
Exemplo n.º 2
0
 def test_baredoc_list_modules_single_and_alias(self):
     """
     test baredoc single module listing
     """
     ret = baredoc.list_modules("mdata")
     assert "put" in ret["mdata"][2]
     assert "keyname" in ret["mdata"][2]["put"]
Exemplo n.º 3
0
 def test_baredoc_list_modules(self):
     """
     test baredoc executiion module listing
     """
     ret = baredoc.list_modules(names_only=True)
     assert "get_value" in ret["xml"][0]