Пример #1
0
 def test_full_data(self, mock):
     '''
     Test if it return the full data about the publication
     '''
     self.assertDictEqual(publish.publish('*', 'publish.salt'), {})
Пример #2
0
def test_full_data():
    """
    Test if it return the full data about the publication
    """
    assert publish.publish("*", "publish.salt") == {}
Пример #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'), {})
Пример #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") == {}
Пример #5
0
 def test_full_data(self, mock):
     '''
     Test if it return the full data about the publication
     '''
     self.assertDictEqual(publish.publish('*', 'publish.salt'), {})
Пример #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'), {})
Пример #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"), {})
Пример #8
0
 def test_full_data(self):
     """
     Test if it return the full data about the publication
     """
     self.assertDictEqual(publish.publish("*", "publish.salt"), {})