Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/osutils/test_windows.py   cloudbase-init(Download)
 
        _winreg.CreateKey.__enter__.assert_called_with()
        _winreg.CreateKey.__exit__.assert_called_with(None, None, None)
        _winreg.CreateKey.assert_called_with(_winreg.HKEY_LOCAL_MACHINE,
                                             key_name)