Ejemplo n.º 1
0
 def test_full_data(self, mock):
     '''
     Test if it return the full data about the publication
     '''
     self.assertDictEqual(publish.publish('*', 'publish.salt'), {})
Ejemplo n.º 2
0
def test_full_data():
    """
    Test if it return the full data about the publication
    """
    assert publish.publish("*", "publish.salt") == {}
Ejemplo n.º 3
0
 def test_publish(self, mock):
     '''
     Test if it publish a command from the minion out to other minions.
     '''
     self.assertDictEqual(publish.publish('os:Fedora', 'publish.salt'), {})
Ejemplo n.º 4
0
def test_publish():
    """
    Test if it publish a command from the minion out to other minions.
    """
    assert publish.publish("os:Fedora", "publish.salt") == {}
Ejemplo n.º 5
0
 def test_full_data(self, mock):
     '''
     Test if it return the full data about the publication
     '''
     self.assertDictEqual(publish.publish('*', 'publish.salt'), {})
Ejemplo n.º 6
0
 def test_publish(self, mock):
     '''
     Test if it publish a command from the minion out to other minions.
     '''
     self.assertDictEqual(publish.publish('os:Fedora', 'publish.salt'), {})
Ejemplo n.º 7
0
 def test_publish(self):
     """
     Test if it publish a command from the minion out to other minions.
     """
     self.assertDictEqual(publish.publish("os:Fedora", "publish.salt"), {})
Ejemplo n.º 8
0
 def test_full_data(self):
     """
     Test if it return the full data about the publication
     """
     self.assertDictEqual(publish.publish("*", "publish.salt"), {})