Beispiel #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"]
Beispiel #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"]
Beispiel #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]