def test_licensed(self):
        mock = MagicMock(return_value='License Status: Licensed')
        with patch.dict(license.__salt__, {'cmd.run': mock}):
            license.licensed()
            mock.assert_called_once_with(r'cscript C:\Windows\System32\slmgr.vbs /dli')
Get a single flavor
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_license_test.py/LicenseTestCase.test_licensed--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/database/v1/_proxy.py/Proxy.get_flavor