This SDK is a basic wrapper around the HTTP/S calls needed to use CloudElements
- Add pagination for CRM Hubs
- More complete coverage for the CE API including CRM hubs, instances, elements, and providers
- Updated test cover
- More consistent naming conventions
- Group tests via "type"
- Mostly SalesForce and CRM Hub integration
##INSTALLATION
git clone git@github.com:MobileWorks/cloudelements.git cloudelements
cd cloudelements
pip install -e .
pip install -r test-requirements.txt
Instead of having set variables in the file, the tests rely on environment variables for your instances.
You can use a tool like direnv or autoenv
Currently the tests use these:
os.getenv('CLOUD_ELEMENTS_USER_SECRET')
os.getenv('CLOUD_ELEMENTS_ORG_SECRET')
os.getenv('SALES_FORCE_SECRET')
os.getenv('SALES_FORCE_ACCESS_KEY')
os.getenv('SALES_FORCE_CALLBACK_URL')
py.test -v
OR
pip install tox
tox .