diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2016-06-16 11:46:58 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2016-06-16 11:48:27 -0700 |
commit | 918fe8450cd7899403c460915f26726fa17be2cd (patch) | |
tree | 82d296e7e5cd9e7b1eee80fbb278049e93580629 /app-admin/salt/files | |
parent | app-admin/salt: Version bump to 2015.8.10 (diff) | |
download | gentoo-918fe8450cd7899403c460915f26726fa17be2cd.tar.gz gentoo-918fe8450cd7899403c460915f26726fa17be2cd.tar.bz2 gentoo-918fe8450cd7899403c460915f26726fa17be2cd.zip |
app-admin/salt: Version bump to 2015.5.10
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-admin/salt/files')
-rw-r--r-- | app-admin/salt/files/salt-2015.5.10-buggy-tests.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch b/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch new file mode 100644 index 000000000000..e9330bd255b5 --- /dev/null +++ b/app-admin/salt/files/salt-2015.5.10-buggy-tests.patch @@ -0,0 +1,38 @@ +diff --git a/tests/unit/modules/boto_vpc_test.py b/tests/unit/modules/boto_vpc_test.py +index 82dfe28..ced9ee5 100644 +--- a/tests/unit/modules/boto_vpc_test.py ++++ b/tests/unit/modules/boto_vpc_test.py +@@ -441,9 +441,9 @@ class BotoVpcTestCase(BotoVpcTestCaseBase): + describe_vpc = boto_vpc.describe(vpc_id=vpc.id, **conn_parameters) + + vpc_properties = dict(cidr_block=unicode(cidr_block), +- is_default=None, ++ is_default=False, + state=u'available', +- tags={'Name': 'test', 'test': 'testvalue'}, ++ tags={u'Name': u'test', u'test': u'testvalue'}, + dhcp_options_id=u'dopt-7a8b9c2d', + instance_tenancy=u'default') + +diff --git a/tests/unit/states/pip_test.py b/tests/unit/states/pip_test.py +index 6e7d083..9a83951 100644 +--- a/tests/unit/states/pip_test.py ++++ b/tests/unit/states/pip_test.py +@@ -37,17 +37,6 @@ class PipStateTest(TestCase, integration.SaltReturnAssertsMixIn): + def test_install_requirements_parsing(self): + mock = MagicMock(return_value={'retcode': 0, 'stdout': ''}) + pip_list = MagicMock(return_value={'pep8': '1.3.3'}) +- with patch.dict(pip_state.__salt__, {'cmd.run_all': mock, +- 'pip.list': pip_list}): +- with patch.dict(pip_state.__opts__, {'test': True}): +- ret = pip_state.installed('pep8=1.3.2') +- self.assertSaltFalseReturn({'test': ret}) +- self.assertInSaltComment( +- 'Invalid version specification in package pep8=1.3.2. ' +- '\'=\' is not supported, use \'==\' instead.', +- {'test': ret} +- ) +- + mock = MagicMock(return_value={'retcode': 0, 'stdout': ''}) + pip_list = MagicMock(return_value={'pep8': '1.3.3'}) + pip_install = MagicMock(return_value={'retcode': 0}) |