Ejemplo n.º 1
0
 def test_baredoc_list_states_args(self):
     """
     Test baredoc state listing with args
     """
     ret = baredoc.list_states()
     assert "value_present" in ret["xml"][0]
     assert "xpath" in ret["xml"][0]["value_present"]
Ejemplo n.º 2
0
 def test_baredoc_list_states_single(self):
     """
     Test baredoc state listing single state module
     """
     ret = baredoc.list_states("xml")
     assert "value_present" in ret["xml"][0]
     assert "xpath" in ret["xml"][0]["value_present"]
Ejemplo n.º 3
0
 def test_baredoc_list_states(self):
     """
     Test baredoc state module listing
     """
     ret = baredoc.list_states(names_only=True)
     assert "value_present" in ret["xml"][0]