about summary refs log tree commit diff
path: root/debian/tests/nm.py
AgeCommit message (Collapse)Author
2021-07-05Update python script formatting to fix the buildSebastien Bacher
2021-07-02d/t/nm.py: adapt to changes dnsmasq behavior (LP: #1894619)Christian Ehrhardt
As described and discussed in (LP: #1894619) the behavior of dnsmasq has changes. After reverting that for a while upstream confirmed that - at least for the configuration our test uses - this is the intended and wanted behavior. Due to that dnsmasq now (Impish) follows upstream and therefore the test in NM needs to be adapted to tolerate that new behavior. Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2020-07-07* debian/tests:Sebastien Bacher
- don't use the old service name in the test, the compatibility alias has been removed
2019-12-06LP: #1855009Dan Streetman
2019-08-01nm.py: Remove the code rather than disabling it and commenting it outIain Lane
2019-07-23nm.py autopkgtest: Skip check_connected_device_config() calls.Till Kamppeter
We are skipping this test as it often randomly fails on IPv6 configurations without any reason as the configuration is working anyway and the correct addresses get confirmed by the check_low_level_config() in the end (and there is an even more thorough checking of the correctness of the addresses).
2019-07-23nm.py autopkgtest: Improved check_connected_device_config()Till Kamppeter
- Replaced hard sleep() by longer timeout on check for config data available - While config data still not available get_ip{4|6}_config() not None but empty, checking appropriately now
2019-07-15nm.py autopkgtest: Improved timers of the main loops further.Till Kamppeter
2019-07-02nm.py autopkgtest: Improved implementation of adding timers for the main loops.Till Kamppeter
2019-07-02nm.py autopkgtest: Added timers to make the main loops time out if the ↵Till Kamppeter
asynchronous processes do not finish.
2019-06-22Updated autopkg test nm.py for API changes in network-manager.Till Kamppeter
2019-06-03Port debian/tests/nm.py to gir1.2-nm-1.0Mathieu Trudel-Lapierre
2019-05-29debian/tests/nm.py: give test_no_ap more time for wifi devices to start as ↵Mathieu Trudel-Lapierre
it may be necessary on ppc64el.
2018-12-19debian/tests/nm.py: Make assert_iface_down() not check the interface's stateIain Lane
We call nmclient.deactivate_connection() to terminate connections that the testsuite sets up, and according to upstream this is not guaranteed to do anything in particular to the link state. It seems that dnsmasq 2.80 somehow alters the previous assumption that it would be 'state DOWN', so the implementation detail we were checking previously no longer holds. The testsuite does still check that the IPs are removed from the interface, which is logically what we want anyway. (LP: #1805857)
2018-11-29Make dep8 nm test directly invokableRobie Basak
By renaming the test to nm.py, it can be called directly with: python3 -m unittest nm To make this work, we also need to move required test setup and teardown code to setUpModule() and tearDownModule() accordingly, and move other "script" code into the __name__ == '__main__' idiom. This then allows easier debugging of failing tests by calling unittest to run a specific test using the usual method. For example: sudo python3 -m unittest nm.ColdplugWifi.test_open_b_ip6_raonly_no_pe