Open
Description
We need to generate the Python API client to use inside the testing framework instead of writing our own API request classes.
This effort would help in making sure that any YAML change is reflected in the way that API requests are done and reducing framework code.
Things to keep in mind:
- The python client would have to be generated each time the YAML file is changed. This would add a few problems since the codegen step could take a while to finish, so some investigation would initially have to be done to make sure that we don't spend a lot of time here. Some ideas to speed up things would be to check the YAML version or store a hash of the last checked YAML file.
- The
resources.py
file would be replaced. - API requests should be timed - see decorators here.
- The MicroVM class will suffer a lot of changes, so it would be a good opportunity to clean up some of the things there.