LP1827055 Remove Python libs, install bits, and docs Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jason Stephenson <jason@sigio.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Add Python unit testing and coverage report to "make check" If --enable-python is included in the arguments to configure, "make check" runs all Python unit tests using nosetests and generates a testing coverage report for all Python code. The original json_test.py is factored out to provide a separate file for testing osrf.net_obj vs. osrf.json vs. osrf.*, when we eventually get there. Signed-off-by: Dan Scott <dan@coffeecode.net> git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2244 9efc2488-bf62-4759-914b-345cdb29e865
repaired logic in the as-yet-unused import_array_data; use the more efficient enumerate func; capture array length outside of loop for efficiency; avoid calls to set/get_field and access _data directly inside of the NetworkObject class for faster accessor/mutator's git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2088 9efc2488-bf62-4759-914b-345cdb29e865
rely on logic, not failure through try/catch, to determine of an object is a registered network object; if an object is unregistered, do not treat it as an __unknown network object (which obfuscates and provides no value). git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2084 9efc2488-bf62-4759-914b-345cdb29e865
created a shallow clone method git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1225 9efc2488-bf62-4759-914b-345cdb29e865
I started adding some basic bootstrap options looking ahead to server-side python. This resulted in a small set of code cleanup including: move from camelCase to lower_under for method names move from global variables to class-level static variables move from global functions to class-level static functions git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1219 9efc2488-bf62-4759-914b-345cdb29e865
Continue the march towards a pedantic 1.0 python API. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1178 9efc2488-bf62-4759-914b-345cdb29e865
Move towards Pythonic API style conventions (as informed by pylint) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1171 9efc2488-bf62-4759-914b-345cdb29e865
re-factored and cleaned up the registered class base-class object git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1062 9efc2488-bf62-4759-914b-345cdb29e865
python only evaluates default function param values once, so mutable types will always be pointers to the original default val. change the default osrfNetworkObject init function to None and setting default manually git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1059 9efc2488-bf62-4759-914b-345cdb29e865
added config contexts for config files. fixed some osrfNetworkObject handling bugs. did some re-tabbing to change to space-based tabs git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1041 9efc2488-bf62-4759-914b-345cdb29e865
more tuning of hinted object handling. added support for hinted object parsing in gateway parser git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@952 9efc2488-bf62-4759-914b-345cdb29e865
Cleaned up the network hint / object registration code in net_obj Added object2XML function for posting XML to the opensrf gateway updated the gateway to deal with the new object API git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@949 9efc2488-bf62-4759-914b-345cdb29e865
broke network-object logic out of the JSON parsing code git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@899 9efc2488-bf62-4759-914b-345cdb29e865