def test_publish(self, mock):
        self.assertDictEqual(publish.publish('os:Fedora', 'publish.salt'), {})

    # 'full_data' function tests: 1
Test if it publish a command from the minion out to other minions.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/publish_test.py/PublishTestCase.test_publish