Commit Graph

13659 Commits

Author SHA1 Message Date
Steven Oliver
47262d179c
Add unit tests for file.comment_line 2018-06-19 16:50:21 -04:00
Nicole Thomas
179aecef50
Merge pull request #47049 from lejambon/centos-set-utc-hwclock
Centos set utc hwclock
2018-06-15 13:15:39 -04:00
Bo Maryniuk
280781391d
Fix unit tests while ignoring or not the return code 2018-06-14 13:45:24 -05:00
Bo Maryniuk
f339bf38e2
Fix Debian unit tests 2018-06-14 13:45:24 -05:00
Bo Maryniuk
10561196a4
Fix unit tests 2018-06-14 13:45:23 -05:00
Bo Maryniuk
664b1aa85c
disable pylint as the return value is unused 2018-06-14 13:45:23 -05:00
Bo Maryniuk
44e9581c0d
Fix unit tests for using new structure 2018-06-14 13:45:23 -05:00
Bo Maryniuk
ae6bfa43f1
Fix a unit test for autoremove 2018-06-14 13:45:23 -05:00
Bo Maryniuk
f6073f6af5
Move module environment getter to its own home 2018-06-14 13:45:23 -05:00
Bo Maryniuk
7e06c439c9
Fix unit tests to take care of scope checker 2018-06-14 13:45:22 -05:00
Bo Maryniuk
8f3ea65b5b
Add unit test to call the apt with the additional arguments 2018-06-14 13:45:22 -05:00
Bo Maryniuk
83dc660b2f
Add unit test to call apt withing the systemd scope 2018-06-14 13:45:22 -05:00
Bo Maryniuk
b098b83b21
Add unit test for call apt with the default params 2018-06-14 13:45:22 -05:00
Bo Maryniuk
6758afa0b3
Fix unit tests for running refactored scope detector 2018-06-14 13:45:22 -05:00
Bo Maryniuk
a58dcc5163
Extend unit test to call latest version within the scope 2018-06-14 13:45:22 -05:00
Bo Maryniuk
8338bcc5f0
Fix unit test for Zypper caller 2018-06-14 13:45:22 -05:00
Bo Maryniuk
6ac00e42f6
Fix the unit test for upgrading packages with options to yum/dnf 2018-06-14 13:45:22 -05:00
Bo Maryniuk
988dd3ca9c
Fix unit test for refresh_db with options 2018-06-14 13:45:21 -05:00
Bo Maryniuk
011d946455
Fix unit test calling environment for list upgrades 2018-06-14 13:45:21 -05:00
Bo Maryniuk
f3cd4941fb
Fix unit test list upgrades dnf with the environment 2018-06-14 13:45:21 -05:00
Bo Maryniuk
b22b5c1f88
Replase old style assertion with the py-test approach 2018-06-14 13:45:21 -05:00
Bo Maryniuk
885cdc598a
Fix unit test running with the dynamic environment 2018-06-14 13:45:21 -05:00
Bo Maryniuk
ef49953204
Fix unit test for getting latest version with the options 2018-06-14 13:45:21 -05:00
Bo Maryniuk
0a9e7b6ca0
Fix unit test for installation with the options 2018-06-14 13:45:21 -05:00
Bo Maryniuk
7a567d21be
Add unit test when calling yum/dnf with the optional keyword arguments 2018-06-14 13:45:21 -05:00
Bo Maryniuk
0170e56e9c
Add unit test when calling yum/dnf within the systemd scope 2018-06-14 13:45:21 -05:00
Bo Maryniuk
665abf6d69
Add unit test when calling default yum/dnf 2018-06-14 13:45:20 -05:00
Bo Maryniuk
e6c6ece0fb
Fix imports for utils Unit test 2018-06-14 13:45:20 -05:00
Bo Maryniuk
b06036c74a
Add test case for yum utils 2018-06-14 13:45:20 -05:00
Bo Maryniuk
f97bc34d9f
Add unicode literals 2018-06-14 13:45:20 -05:00
Bo Maryniuk
3753bc9a09
Add unit test for virtual namespace overridden. 2018-06-14 13:45:20 -05:00
Bo Maryniuk
aed351708d
Add unit test for virtual name is found. 2018-06-14 13:45:20 -05:00
Bo Maryniuk
5fb9e8b22d
Add unit test for module name is found. 2018-06-14 13:45:20 -05:00
Bo Maryniuk
9c71e71ffe
Add unit test for section name and module name are found. 2018-06-14 13:45:20 -05:00
Bo Maryniuk
1bd0497735
PEP8: code lines 2018-06-14 13:45:20 -05:00
Bo Maryniuk
d882dbd77a
Add unit test for pillar override 2018-06-14 13:45:20 -05:00
Bo Maryniuk
bb8d2245ef
Add unit test for environment in pillars is visible 2018-06-14 13:45:20 -05:00
Bo Maryniuk
ee9074ea8e
Update docstring 2018-06-14 13:45:20 -05:00
Bo Maryniuk
d4b487ed1b
Add unit test to get opts from the environment 2018-06-14 13:45:20 -05:00
Bo Maryniuk
8fe31c3fbf
Add unit test to check if the environment returns a correct type 2018-06-14 13:45:19 -05:00
Bo Maryniuk
1d1627a98d
Add test case init commit 2018-06-14 13:45:19 -05:00
Mike Place
5e626b9d67
Merge branch 'develop' into centos-set-utc-hwclock 2018-06-13 17:10:35 +02:00
Nicole Thomas
41bf828701
Merge pull request #47907 from cbosdo/virt-nets-pools
Virt nets pools
2018-06-13 09:02:49 -04:00
Nicole Thomas
b33c2252a3
Merge pull request #47991 from cbosdo/running-fix
Running fix
2018-06-13 08:59:04 -04:00
Nicole Thomas
789ad708c7
Merge branch 'develop' into running-fix 2018-06-12 16:35:39 -04:00
Cédric Bosdonnat
99f71deb15
virt: expose domain_capabilities
Client applications will need both the connection and domain
capabilities to compute proper domain XML definitions. Connection
capabilities were already implemented, this commit now adds a
virt.domain_capabilities function to fill the gap.
2018-06-12 17:30:31 +02:00
Cédric Bosdonnat
93d6c3b605
virt: expose connection capabilities
Connection capabilities are useful for client applications to compute
XML definitions that will work on the hypervisor. This commit adds
a virt.capabilities() function parsing and returning those capabilities.
2018-06-12 17:30:31 +02:00
Cédric Bosdonnat
1293f7d7a8
Add virt.pool_list_volumes function
Let users list the volumes contained in a libvirt storage pool.
2018-06-12 17:28:33 +02:00
Cédric Bosdonnat
988e657dd0
Add virt.pool_info function
Users need to get some data from the libvirt storage pools, like its
state, allocation / free sizes, etc. Provide them using the new
virt.pool_info function.
2018-06-12 17:28:32 +02:00
Cédric Bosdonnat
7a42d0b5fb
Add virt.list_pools function
Users need to figure out what libvirt storage pools are defined. Provide
a new virt.list_pools function for that.
2018-06-12 17:28:32 +02:00