Closed ccorbacho closed 6 years ago
@jessp01 Can you take a look at this one?
Also, I've added pycrypto to requirements.txt here as your KSv2 changes in https://github.com/kaltura/clients-generator/commit/435c95ebb1ddfa34b962011effa97dd46a547428 broke the tests - I haven't added it to setup.py, unless you want to make it required now and drop the KsV1 path?
Hi @ccorbacho, Thank you for contributing this pull request! The KalturaGeneratedAPIClientsPython is autogenerated from https://github.com/kaltura/clients-generator under sources/LANG Please create a new pull on the server repo.
Hi @ccorbacho,
Use of generateSession() [KSv1] is still valid so no need to add pycrypto to setup.py [which is only needed for generateSessionV2()], adding it to requirements.txt [so that the Travis CI run will succeed] is the correct thing to do.
We may want to add a note about it in the README, however, I'll take care of that.
I merged the request and thanks!
Use pytest as the test discoverer, which is much more sophisticated than the basic unittest runner, and has a lot more features, like coverage reporting (now enabled).
Use tox to take care of running pytest with the correct parameters and trigger that from Travis instead of running the test runner directly (the tox-travis plugin ensures tox does not complain about missing Python versions when run in an environment with only one version).