@patch('os.path.islink', MagicMock(return_value=True))
    def test_check_site_enabled(self):
        self.assertTrue(deb_apache.check_site_enabled('saltstack.com'))
Configure a YubiKey using a configuration object.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/deb_apache_test.py/DebApacheTestCase.test_check_site_enabled--crossover with--dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_base.py/YubiKey.write_config