Esempio 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'), {})
Esempio n. 2
0
def test_full_data():
    """
    Test if it return the full data about the publication
    """
    assert publish.publish("*", "publish.salt") == {}
Esempio 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'), {})
Esempio 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") == {}
Esempio 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'), {})
Esempio 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'), {})
Esempio 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"), {})
Esempio n. 8
0
 def test_full_data(self):
     """
     Test if it return the full data about the publication
     """
     self.assertDictEqual(publish.publish("*", "publish.salt"), {})