Files
storlets/.gitignore
Eran Rom f21244c0b2 Adding invocation magics to the IPython extension
This commit adds:
1. A dedicated documentation for the IPython extension
2. A %get command for storlet invocation on get
3. A %put command for storlet invocation on put
4. A %copy command for storlet invocation on copy

The syntax is documented in /doc/source/ipython_integration.rst

Bonus: adding __init__.py to the extension's unit test

Change-Id: Idf09aa03222586a39dfec7d132554d14f908e200

Refactor IPython extension and the tests

Mainly:

- Implements Response class instead of response dict
  (need to update the docs)

- Fix FakeConnection class from the redandunt code perspective

Need to more generarize around _call_xx in the tests...

Change-Id: Ieb46c7a696e8a4c2fe3a9cc0858ab5fef12678c6

Cleanup test_ipython code doc update and nb for test

- Abstract BaseTestIpythonExtension class for testing tools
-- And then, parse the child test classes for the methods to assert
- Remove unnecessary args and mock patches
- Avoid redandunt code duplication

Update the docs with the Response

Adding a notebook for testing the ipython extension
plus automated testing of that notebook

Change-Id: I0842fae5f20268cdd8ccf284eecab77498074e83
2017-04-24 23:16:12 -07:00

82 lines
963 B
Plaintext

*.py[cod]
# C extensions
*.o
*.so
# Packages
*.egg
*.egg-info
dist
build
.eggs
eggs
parts
var
sdist
develop-eggs
.installed.cfg
lib
lib64
# Ansible
*.retry
# Installer logs
pip-log.txt
# auto created for deploy
install/storlets/prepare_host
install/storlets/deploy/
install/storlets/prepare_vars.yml
install/swift/vars.yml
install/swift/hosts
cluster_config.json
install/swift/hosts
Engine/SMScripts/bin/
# auto created on build
src/java/dependencies/
src/java/SBus/org_openstack_storlet_sbus_SBusJNI.h
# Storlets build
*.class
*.jar
StorletSamples/java/*/bin
# scripts build
scripts/restart_docker_container
# functional tests
tests/functional/.ipynb_checkpoints/
# Unit test / coverage reports
.coverage
.tox
nosetests.xml
.testrepository
.venv
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
# Complexity
output/*.html
output/*/index.html
# Sphinx
doc/build
# pbr generates these
ChangeLog
# Editors
*~
.*.swp
.*sw?