Bert Blommers
096a89266c
ELB:describe_instance_health() - implement OutOfService status ( #5154 )
2022-05-21 22:55:36 +00:00
Bert Blommers
d60df32a25
Upgrade flake8 to 4.x ( #5066 )
2022-04-27 11:58:59 +00:00
Bert Blommers
2d18ec5a7b
Remove print-statement
2022-03-24 22:38:17 -01:00
Bert Blommers
47ce689cb7
ELB/ELBv2 improvements ( #4956 )
2022-03-21 19:55:19 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting ( #4926 )
2022-03-10 13:39:59 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency ( #4378 )
2022-01-18 14:18:57 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Bert Blommers
1f13d6c406
Feature: ACM: in_use_by ( #4414 )
2021-10-14 21:43:10 +00:00
Bert Blommers
8ab76cb1d5
Rewrite deprecated ELB tests ( #4342 )
2021-09-24 20:00:10 +00:00
Brian Pandola
f4b81e69b8
Address pytest warnings ( #3629 )
...
* Address `boto` deprecation warnings
This commit eliminates the following warning:
../boto/ec2/connection.py:582:
PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations.
`boto` isn't likely to ever make good on this warning, but doing the replacement will
declutter the `moto` test output.
* Remove `invoke_lambda` tracebacks from unit test logging
If an exception is encountered, the details are returned in the response payload.
Printing the traceback was just adding noise to the pytest output.
* Use known AMIs in unit tests
This commit eliminates the following warning in the pytest output:
`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`
Known, pre-loaded AMI image ids are used instead of random ids that don't actually
exist in the moto backend. The integrity of the tests is unaffected by this change.
A test has been added to provide explicit coverage of the PendingDeprecationWarning
raised when an invalid AMI image id is passed to moto.
2021-01-29 11:31:56 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
Matěj Cepl
ea489bce6c
Finish porting from nose to pytest.
2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
David
868d0107bf
Autoscaling instance azs ( #2030 )
...
* Add instance AZ support in autoscaling
* Resolve py36-py27 format string error in test_autoscaling
2019-05-25 11:18:16 +01:00
Benoît Faucon
5d7a432af2
Tests on Travis: specify region name.
2018-08-06 11:01:33 +02:00
Benoît Faucon
ae2e6fef63
Add support for unregistered instances in ELB DescribeInstancesHealth API.
2018-08-06 10:47:00 +02:00
Jack Danger
45d7230440
fixing typo
2017-07-19 16:01:00 -07:00
Jack Danger
6ed8d12317
Enforcing ELB security groups must be real
2017-07-19 15:58:49 -07:00
Jack Danger
b512316c82
removing further unused imports
2017-07-19 12:36:04 -07:00
Jack Danger
7d0a575ab1
Removing unused import
2017-07-19 12:20:58 -07:00
Jack Danger
73ede75c39
Adding test for ELBv1 security groups
2017-07-19 12:20:01 -07:00
Jack Danger
98342bfcc3
Raise error on duplicate elbv1 listener
...
AWS returns an error condition when a listener is defined that interferes with an existing listener on the same load balancer port.
2017-07-06 21:52:01 -07:00
Jack Danger Canty
dbbbc01f88
Test boto3 elb listener deletion
2017-07-06 21:29:18 -07:00
Jack Danger Canty
c8794e842d
create_load_balancer requires port definitions
...
Throw the appropriate error when defining a loadbalancer with no ports
2017-06-12 16:42:43 -07:00
Jack Danger Canty
b0c83c4e70
Testing ELB connection draining timeouts
2017-05-31 15:53:39 -07:00
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Marco Rucci
e47fc4cafc
Disallow creation of ELBs with duplicate names.
2016-05-15 20:04:00 +02:00
Daniel Hepper
105ba83835
Fix an assertion that was always true
2016-04-14 15:51:32 +02:00
Daniel Hepper
6eee995dcf
Honor Tags when creating a load balancer
2016-04-14 15:50:51 +02:00
Daniel Hepper
35a60fbf49
Removed unwanted whitespace
2016-04-14 14:48:57 +02:00
Daniel Hepper
ce3fdaa012
Implemented subnet handling in ELB backend
...
The ELB backend now honors the Subnets parameter in CreateLoadBalancer calls. When a load balancer is created with subnets, the VPC is also set to the VPC of the subnets.
2016-04-14 14:43:03 +02:00
Oleksandr Shulgin
ef4332d892
Fix dict syntax for python-2.6 in test_elb
2015-12-14 12:55:34 +01:00
Oleksandr Shulgin
1ed5f50d56
Fix ELB.describe_tags with multiple LoadBalancerNames.
2015-12-14 12:38:10 +01:00
Steve Pulec
5d421dc343
Cleanup querying missing ELB error.
2015-12-13 22:41:17 -05:00
mfranke
cace459167
add endpoint tests for AddTags, RemoveTags and DescribeTags to test_elb.py
...
update sure requirement to 1.2.24
fix assert int to float compare in test_swf/responses/test_timeouts.py
2015-12-09 21:33:42 +01:00
Chris Henry
2448c4eced
Add tests for scheme
2015-12-03 11:25:04 -05:00
Tony Pitluga
1d8252feea
Make all existing ELB endpoints compatible with boto3
2015-08-24 15:07:14 +00:00
Andrew Harris
ea2fe6f290
change usages of long conversion to int for python3
2015-07-16 18:23:13 -07:00
Andrew Harris
2a8fc19e77
remove extraneous print statements
2015-07-16 16:07:23 -07:00
Andrew Harris
bbb021d06d
implement mocking for lb policies
2015-07-16 15:32:51 -07:00
Kevin Donnelly
3c75e0ef2e
Fix bug where listener certificate was not being saved correctly when
...
creating an elb. Added test to cover that case.
Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Steve Pulec
a97beb0598
Fix merge conflicts.
2015-03-22 16:00:16 -04:00
Marco Rucci
08468e5f73
Add support for ELB attributes.
2015-03-22 15:35:27 +01:00
Steve Pulec
2b775aa075
Add multi-region ELB test.
2014-11-16 18:00:04 -05:00