about summary refs log tree commit diff
path: root/debian/tests
AgeCommit message (Collapse)Author
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/control: fix test dependency to list gir1.2-nm-1.0 instead of ↵Mathieu Trudel-Lapierre
its old name gir1.2-networkmanager-1.0.
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
2018-09-24debian/tests/control: The nm tests need dnsmasq-base and isc-dhcp-client tooIain Lane
2018-09-24debian/tests/nm: Add the required `gi.require_version()` calls - thanks to ↵Iain Lane
the autopkgtests for noticing this.
2018-02-23debian/tests/urfkill-integration - don't stop/start network managerBryan Quigley
2017-11-12Add autopkgtestsJeremy Bicha