Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

how does python code get tested #1

Open
connaryscott opened this issue Mar 28, 2016 · 2 comments
Open

how does python code get tested #1

connaryscott opened this issue Mar 28, 2016 · 2 comments

Comments

@connaryscott
Copy link

hmm, no way to test python code?

from serverless-test-plugin/index.js

                                        if (functionData.runtime === "nodejs") {
...
....
                                        else {
                                                SCli.log("DEBUG Skipping " + functionData._config.sPath);
                                                functionTestSuite.setSkipped(true);
                                        }
@mfulleratlassian
Copy link

:(

@arabold
Copy link
Owner

arabold commented Apr 26, 2016

I haven't used Python with Lambda at all yet, so I really have no idea how things would work. I believe this can be added easily with the latest version of this plugin and serverless 0.5.x -- it's probably as simple as adding the python runtime to the check in index.js. The function is executed through serverless which takes care of all the environment settings.

If you have the ability to test this and provide a pull request, it would be highly appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants