Tim Simpson
3cdb9ea817
Changing DNS to pass string to driver
This commit also moves the "get_ip_address" functions out of instance.views and into the models code under the SimpleInstance class, where it's renamed get_visible_ip_addresses(). Also, the content field (the ip address) is now passed to the driver instead of set on the Entry object by the manager, which allows more flexibility for dealing with various drivers and will hopefully prevent issues in the future. Finally, integration tests were added to keep this from breaking in the future. Closes-Bug: 1273446 Change-Id: I70bf37838cc5cecfe579fe6001df79d7f6f5d53e
Trove
Trove is Database as a Service for Open Stack.
To run all tests and PEP8, run tox, like so: $ tox
To quickly run the tests for Python 2.7, run: $ tox -epy27
To quickly run PEP8, run: $ tox -epep8
To generate a coverage report,run: $ tox -ecover (note: on some boxes, the results may not be accurate unless you run it twice)
If you'd like to start up a fake Trove API daemon for integration testing with your own tool, run: $ ./bin/start_server
Stop the server with: $ ./bin/stop_server
Description
Languages
Python
95%
Shell
4.9%