rallytime
7b3fc41868
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/cloud/clouds/lxc.py
- salt/cloud/clouds/nova.py
- salt/cloud/clouds/vmware.py
- salt/cloud/clouds/vsphere.py
- salt/cloud/libcloudfuncs.py
- salt/minion.py
- salt/modules/yumpkg.py
- salt/utils/cloud.py
2016-08-18 14:37:42 -06:00
Erik Johnson
5b5f19d269
Update zypper unit test to reflect call to config.get
2016-08-17 11:43:22 -05:00
rallytime
49179ac401
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/modules/win_pkg.py
- tests/integration/files/conf/master
2016-08-16 12:52:20 -06:00
Bo Maryniuk
8790197d86
Fix Unit test for suppressing the exception removal on non-modified repos
2016-08-15 17:35:25 +02:00
Mihai Dinca
867ead79e5
Add test for non-ascii pkg.info_installed
2016-08-10 17:34:26 +02:00
rallytime
de4b33f2e1
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/client/ssh/__init__.py
- salt/client/ssh/shell.py
- salt/config/__init__.py
- salt/grains/core.py
- salt/utils/gitfs.py
2016-08-08 12:34:23 -06:00
Pablo Suárez Hernández
18700e821e
unit tests for rpm.checksum() and zypper.download()
...
lint issue fixed
2016-08-08 11:57:14 +01:00
rallytime
8c30261580
Don't check for string encoding in Python 3
...
Also fixed a failing zypper test
2016-07-21 14:33:02 -06:00
Bo Maryniuk
e5c3195fa3
Update test data for 'registerrelease' and 'productline' fields
2016-07-15 17:14:27 +02:00
Bo Maryniuk
96021e257c
Update test data for 'registerrelease' and 'productline' fields
2016-07-15 17:13:58 +02:00
Bo Maryniuk
5ed5142fbc
Update test data for 'registerrelease' and 'productline' fields
2016-07-15 17:12:03 +02:00
rallytime
c539333924
Use six.moves.StringIO()
2016-07-08 09:30:58 -06:00
rallytime
1f4a75f268
Move StringIO import to use six for tests.unit.modules.zypper_test.py
2016-07-07 19:27:30 -06:00
rallytime
b7accb0b3b
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/utils/aws.py
- salt/utils/s3.py
2016-06-02 10:01:43 -04:00
Mike Place
5e022ff29c
Merge pull request #33581 from dincamihai/2015.8
...
Call zypper refresh after adding/modifying a repository
2016-06-01 15:25:11 -07:00
rallytime
cd05d2bed1
Fix zypper test
2016-05-31 13:43:09 -04:00
Mihai Dinca
788730ea72
DRY test
2016-05-30 13:52:46 +02:00
Mihai Dinca
1d3769ccfa
Improve zypper_patcher_config looks
2016-05-30 13:52:45 +02:00
Mihai Dinca
42d8d4195c
Assert only gpgautoimport: True works
2016-05-30 13:51:54 +02:00
Mihai Dinca
80bfbe5c52
Reduce dicts and lists to one line where possible
2016-05-30 10:47:41 +02:00
Mihai Dinca
1d5d6d7d60
Update test method names to pass pylint
2016-05-30 10:05:07 +02:00
Mihai Dinca
c7ae5907ee
Call zypper refresh after adding/modifying a repository
...
Calling `zypper --gpg-auto-import-keys refresh` is required after
adding/modifying a repository because `--gpg-auto-import-keys` doesn't
do anything when called with `zypper ar` or `zypper mr`.
Without calling `zypper --gpg-auto-import-keys refresh` here, calling
`zypper ref` after adding/removing would still ask for
accepting/rejecting the gpg key.
2016-05-27 16:17:10 +02:00
Pablo Suárez Hernández
6b6febb211
unit tests for rpm.checksum() and zypper.download()
2016-05-25 17:08:16 +01:00
Mihai Dincă
c8b4f338d8
Make --gpg-auto-import-keys a global param when calling zypper ( #33432 )
2016-05-23 14:15:29 -07:00
Bo Maryniuk
79a46e091c
Add repo config test
2016-05-06 12:57:52 +02:00
Bo Maryniuk
c55b0fab58
Test DOM parsing
2016-04-27 15:43:35 +02:00
Bo Maryniuk
c54e928e4f
Add exception handling test
2016-04-27 15:43:17 +02:00
Bo Maryniuk
6a98f523ac
Add Zypper caller test suite
2016-04-27 15:21:00 +02:00
Bo Maryniuk
7e1712dd80
Fix tests according to the new calling model
2016-04-27 14:35:22 +02:00
Bo Maryniuk
3a30b7fbcd
Remove an obsolete test case
2016-04-27 14:34:54 +02:00
Bo Maryniuk
6e5877a2ee
Add Zypper Call mock
2016-04-27 14:34:31 +02:00
Bo Maryniuk
492ebfc184
Isbm zypper list products sles11 crash ( #32505 )
...
* Check for EOL aggregate and fix time_t attribute
* Update SLE11 SP3 data
* Update SLE12 SP1 data
* Adjust test values according to the testing data
2016-04-12 08:14:19 -06:00
Bo Maryniuk
afdf451d87
Remove tests from the zypper_test that belongs to rpm_test
2016-03-30 17:33:03 +02:00
Bo Maryniuk
ee1a002673
Update test case to cover SLE11 and SLE12
2016-03-10 13:26:15 +01:00
Michael Calmer
1425c6496c
use specialized assert functions for tests
2016-02-26 13:54:15 +01:00
Michael Calmer
f266cfdaac
test _zypper_check_result()
2016-02-26 13:54:15 +01:00
Michael Calmer
aff6467782
adapt tests to new zypper_check_result() output
2016-02-26 13:54:14 +01:00
Bo Maryniuk
d30f2e4627
Implement unit test for remove and purge
2016-02-25 17:48:03 +01:00
Bo Maryniuk
bc05acf7c3
Fix PyLint
2016-02-25 14:00:12 +01:00
Bo Maryniuk
c0eab8b549
Add space before "assert" keyword
2016-02-24 17:46:49 +01:00
Bo Maryniuk
6bcb89a8f6
Implement list packages test
2016-02-24 17:45:33 +01:00
Bo Maryniuk
78837d2926
Add mocking data
2016-02-24 17:45:23 +01:00
Bo Maryniuk
0b64b8137f
Implement test for version compare, where python fall-back algorithm is called
2016-02-24 17:24:23 +01:00
Bo Maryniuk
18b30a3274
Implement test for version compare, where RPM algorithm is called
2016-02-24 17:24:05 +01:00
Bo Maryniuk
59eca53441
Adjust test case for the third package in the test static data
2016-02-24 16:06:53 +01:00
Bo Maryniuk
90f209569a
Implement test for the upgrade_available
2016-02-24 15:52:18 +01:00
Bo Maryniuk
7eb5f19cb4
Implement test for latest_available
2016-02-24 14:10:07 +01:00
Bo Maryniuk
e372c0b596
Implement test for the info_available
2016-02-24 13:59:05 +01:00
Bo Maryniuk
6989871d27
Implement test for info_installed
2016-02-24 12:31:17 +01:00
Bo Maryniuk
0cc6bce4aa
Use strings instead of unicode strings
2016-02-24 11:56:30 +01:00