dropbox / nsot

Network Source of Truth is an open source IPAM and network inventory database
https://nsot.readthedocs.io
Other
398 stars 66 forks source link

Fix spacing in network error message #371

Closed ryanheffernan closed 4 years ago

ryanheffernan commented 4 years ago

This is causing a test in pynsot to fail:

>           assert "cannot forcefully delete a network that does not have a parent" in result.output
E           AssertionError: assert 'cannot forcefully delete a network that does not have a parent' in '[FAILURE] You cannot forcefully delete a network thatdoes not have a parent, and whose children  are leaf nodes.\n'
E            +  where '[FAILURE] You cannot forcefully delete a network thatdoes not have a parent, and whose children  are leaf nodes.\n' = <Result SystemExit(u'\x1b[31m[FAILURE] \x1b[0mYou cannot forcefully delete a network thatdoes not have a parent, and whose children  are leaf nodes.',)>.output

tests/test_app.py:881: AssertionError

See https://github.com/dropbox/pynsot/pull/169 for the pynsot issue.