Commit Graph

140 Commits

Author SHA1 Message Date
Bert Blommers
be2f45ed8b
Core: Mocked ACCESS_KEY values now adhere to AWS guidelines (#6807) 2023-09-12 13:17:01 +00:00
Bert Blommers
093052bd9b
Techdebt: Simplify ManagedBlockchain setup & tests (#6749) 2023-09-01 07:07:54 +00:00
Bert Blommers
e26cfe7dc6
Techdebt: MyPy: Remove unused ignores (#6542) 2023-07-20 15:46:54 +00:00
Bert Blommers
0247719554
Techdebt: MyPy all the things (#6406) 2023-06-15 11:03:58 +00:00
Bert Blommers
c96a21ddf4
Core: Prevent duplicate handlers when calling patch_client (#6317) 2023-05-12 15:34:41 +00:00
Bert Blommers
7816b191b8
Core: Reset data when mock stops (#5958) 2023-02-22 10:21:45 -01:00
Bert Blommers
40a3a529f9
Core: Rework model_data to only clear on exit (#5920) 2023-02-12 16:58:30 -01:00
Bert Blommers
89fdf9dbcb
Remove Py3.6 support (#5818) 2023-01-06 11:07:20 -01:00
Bert Blommers
96b2eff1bc
TechDebt: MyPy Core (#5653) 2022-11-10 18:54:38 -01:00
Bert Blommers
ea8718d402
TechDebt: Move BackendDict to base_backend (#5645) 2022-11-10 08:43:20 -01:00
Bert Blommers
26412e1c3f
TechDebt: Introduce MyPy typing annotations (#5535) 2022-10-06 08:37:35 +00:00
Bert Blommers
aa7d68a688
Feature: Ability to seed Moto, and make random ID's deterministic (#5492) 2022-09-28 09:35:12 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Bert Blommers
e5830181dd
ServerMode - dont bother resetting multiple times in parallel (#5264) 2022-06-26 13:05:08 +00:00
Bert Blommers
79a2a9d423
Preparation for MultiAccount support (#5157) 2022-06-04 11:30:16 +00:00
Bert Blommers
31737bc81e
Refactor BotocoreStubber/BaseBackend into separate files (#5122) 2022-05-12 09:02:27 +00:00
Bert Blommers
e49e67aba5
Refactor - Extract CommonModels into separate file (#5121) 2022-05-11 20:18:35 +00:00
Thomas Rausch
e911341e6a
add indirection to access account id (#5098) 2022-05-08 22:25:40 +00:00
Bert Blommers
06ed639a4f
Admin - Extract MotoAPI functionality to dedicated module (#5055) 2022-04-24 11:03:04 +00:00
Bert Blommers
67ab7f857a
Simplify error handling (#4936) 2022-03-15 15:42:46 -01:00
Bert Blommers
cbe787add3
Ensure setup_method resets state (#4928) 2022-03-15 13:28:33 -01:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
fbefae59c5
Non-unittest classes use a lowercase setup-method (#4833) 2022-02-05 10:47:38 -01:00
Tuukka Ikkala
e9fada8ebd
Allow mock_s3 to use the standalone moto server running in alternative endpoint by adding TEST_SERVER_MODE_ENDPOINT environment variable (#4723) 2022-01-27 18:34:49 -01:00
Bert Blommers
3ba3f1460f
Propagate MotoHost via env vars to Lambda (#4658) 2022-01-27 11:04:03 -01:00
Bert Blommers
010d525de0
Class decorator - allow possibility of setUp in parent class (#4799) 2022-01-26 23:01:45 -01:00
Bert Blommers
9c8744ff64
Refactor Class-decorator logic to reset per test (#4419) 2022-01-18 16:58:21 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
01ae8c01a6
Improve future interoperability with responses-module (#4753) 2022-01-12 20:58:41 -01:00
Bert Blommers
2407e969ac
Fix interoperability with responses 0.17.0 (#4749) 2022-01-12 12:16:02 -01:00
Bert Blommers
cf87e75d6e
Feature: Mock region (#4699) 2021-12-24 20:02:45 -01:00
Bert Blommers
55681bb5db
Techdebt - remove dependency on deprecated distutils (#4657) 2021-12-05 17:13:01 -01:00
Bert Blommers
c6815c1a4b
Pylint - run on source directories (abc only for now) (#4647) 2021-12-01 22:06:58 -01:00
Bert Blommers
a912fc4cac
Feature: Allow custom endpoints for S3 (#4562) 2021-11-17 20:02:14 -01:00
Bert Blommers
52aeac1cee
Cloudwatch - Return build-in S3 metrics - take 2 (#3839) 2021-11-15 19:40:11 -01:00
Bert Blommers
c62a34528e
Work-around for import order (#4103) 2021-11-09 20:39:31 -01:00
Bert Blommers
f923d0d1e0
Feature: Custom cloudformation resources (#4512) 2021-11-03 20:00:42 -01:00
Jeppe Fihl-Pearson
f240de5482
Remove use of the deprecated stream argument to Responses (#4484) 2021-10-27 11:12:17 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
24ed6c8d34
Add support for AWS China endpoints (#3661) 2021-10-18 16:13:08 +00:00
Bert Blommers
0b9f5adec2
Tech debt - Fix more URL regexes (#4380) 2021-10-08 10:03:05 +00:00
Bert Blommers
8526013e61
Parallelize tests - Part 1 (#4368) 2021-10-05 17:11:07 +00:00
Bert Blommers
31866fb5bd
Update sure to 2.x (#4357) 2021-09-28 09:53:05 +00:00
kbalk
3a203d35c9
Implement EC2 describe_vpc_endpoint_services() (#4322) 2021-09-24 16:01:09 +00:00
rajinder
f7d490167b
implemented validators endpoints (#4309) 2021-09-22 16:34:20 +00:00
Bert Blommers
3498689d9d
Performance improvement - Only reset backends loaded into memory (#4274) 2021-09-15 21:53:31 +00:00
Bert Blommers
8f79edba38
Request matching - return known requests first (#3793) 2021-08-28 13:34:32 +01:00
Anders Kaseorg
bce65b7a50
Only use backported importlib_metadata on Python < 3.8 (#4214)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-08-24 16:50:39 +01:00
Bert Blommers
76094f012b
Remove pkg_resources module (#4142) 2021-08-05 17:59:25 +01:00