• Thomas Haller's avatar
    clients/tests: add python test script for nmcli tests · d4093a3a
    Thomas Haller authored
    Add a test which runs nmcli against our stub NetworkManager
    service and compares the output.
    
    The output formats of nmcli are complicated and not easily understood.
    For example how --mode tabular|multiline interacts with selecting
    output-fields (--fields) and output modes ([default]|--terse|--pretty).
    Also, there are things like `nmcli connection show --order $FIELD_SPEC`.
    
    We need unit tests to ensure that we don't change the output
    accidentally.
    d4093a3a
.travis.yml 3.93 KB