mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
test: optimize win_psmodule tests (#53431)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>--- NAME ---</id>
|
||||
<version>--- VERSION ---</version>
|
||||
<authors>Ansible</authors>
|
||||
<owners>Ansible</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Test for Ansible win_ps* modules</description>
|
||||
<releaseNotes></releaseNotes>
|
||||
<copyright>Copyright (c) 2019 Ansible, licensed under MIT.</copyright>
|
||||
<tags>PSModule PSIncludes_Function PSFunction_--- FUNCTION --- PSCommand_--- FUNCTION ---</tags>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -0,0 +1,17 @@
|
||||
@{
|
||||
RootModule = '--- NAME ---.psm1'
|
||||
ModuleVersion = '--- VERSION ---'
|
||||
GUID = '--- GUID ---'
|
||||
Author = 'Ansible'
|
||||
Copyright = 'Copyright (c) 2019 Ansible, licensed under MIT.'
|
||||
Description = "Test for Ansible win_ps* modules"
|
||||
PowerShellVersion = '3.0'
|
||||
FunctionsToExport = @(
|
||||
"--- FUNCTION ---"
|
||||
)
|
||||
PrivateData = @{
|
||||
PSData = @{
|
||||
--- PS_DATA ---
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
Function --- FUNCTION --- {
|
||||
return [PSCustomObject]@{
|
||||
Name = "--- NAME ---"
|
||||
Version = "--- VERSION ---"
|
||||
Repo = "--- REPO ---"
|
||||
}
|
||||
}
|
||||
|
||||
Export-ModuleMember -Function --- FUNCTION ---
|
||||
|
||||
Reference in New Issue
Block a user