コード例 #1
0
ファイル: test_publish.py プロジェクト: vindir/salt
 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
ファイル: test_publish.py プロジェクト: vindir/salt
 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
ファイル: publish_test.py プロジェクト: DaveQB/salt
 def test_full_data(self, mock):
     '''
     Test if it return the full data about the publication
     '''
     self.assertDictEqual(publish.publish('*', 'publish.salt'), {})
コード例 #6
0
ファイル: publish_test.py プロジェクト: DaveQB/salt
 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"), {})