Skip to content
Advertisement

Tag: moto

Using unittests and moto to mock AWS

I am used to pytest approach for unit testing, without using classes. Today I wanted to give a try to unittest and I wanted to encapsulate my tests inside a TestCase. Then consider this sample test class: Why is not the parameter placed in setUpClass visible from the test? I could imagine that by using the @moto.mock_ssm decorator there it

Advertisement