Developer HowTo for SO Module: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
(Created page with "==Getting Started== Check out the SO module following the instructions @ RiftWare installation (release 0). ==Programming Language== The SO module uses Python3. ==Code S...")
(No difference)

Revision as of 01:00, 6 May 2016

Getting Started

Check out the SO module following the instructions @ RiftWare installation (release 0).

Programming Language

The SO module uses Python3.

Code Style

Please follow PEP8 style guide for all the Python code.

Directory Organization

The code organized into the following high level directories:
| - common (Contains common modules)
| - models (Contains the information models)
| - rwlaunchpad (Contains majority of the logic for SO
| - rwcm (Contains the logic for configuration manager)

Running Unit Tests

The unit tests for this module are in rwlaunchpad/test. Please make sure that these tests pass. Currently the following unit test files exist:
- mano_ut.py
- utest_rwnsm.py
NOTE: To run the unit tests make sure to source ${TOP_DIR}/rift-shell.

TODO: Merge and have one unit test target.