NSoT is now pulled in as a part of the unit tests and pytest-django is
used to run a mock server for testing
Several tests that were not valid but were passing have been corrected
as a result of this new pattern.
Added use_dotfile argument to pynsot.client.get_api_client() to
tell it to explicitly NOT to read the dotfile. This was for testing,
but it could be useful elsewhere.
The CLI utility is now hard-coded to utilize api_version = 1.0
Implemented the 'interfaces' sub-command for devices as a
proof-of-concept for the api_version = 1.0 pinning, which was
non-trivial previously (e.g. nsot devices -H foo-bar interfaces to display interfaces for a device.)
Made the entire project PEP8-compliant.
Added missing unit tests as needed for CLI actions for add, list,
update, and remove for all commands except "interfaces" because that
work will be performed separately.
use_dotfile
argument topynsot.client.get_api_client()
to tell it to explicitly NOT to read the dotfile. This was for testing, but it could be useful elsewhere.api_version = 1.0
api_version = 1.0
pinning, which was non-trivial previously (e.g.nsot devices -H foo-bar interfaces
to display interfaces for a device.)