def test_a2dissite_disabled(self):
        mock = MagicMock(return_value=0)
        with patch.dict(deb_apache.__salt__, {'cmd.retcode': mock}):
            self.assertEqual(deb_apache.a2dissite('saltstack.com'),
                             {'Name': 'Apache2 Disable Site',
                               'Site': 'saltstack.com',
                                'Status': 'Site saltstack.com disabled'})
Test if it runs a2dissite for the given site.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/deb_apache_test.py/DebApacheTestCase.test_a2dissite_disabled