about summary refs log tree commit diff
path: root/debian/tests
AgeCommit message (Collapse)Author
2022-02-07d/tests/control: Have nm.py autopkgtest Depend on wpasupplicantJeremy Bicha
network-manager only Recommends wpasupplicant now
2021-11-11debian/tests: drop which usage to fix adt failure in jammyDimitri John Ledkov
Command which is obsolete, and prints warnings to stderr now. Replace it with python standard library call to shutil.which(). Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
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>
2021-02-08tests: fix nm.py with new systemdLukas Märdian
2020-07-07* debian/tests:Sebastien Bacher
- don't use the old service name in the test, the compatibility alias has been removed
2020-05-06Import patches-unapplied version 1.22.10-1ubuntu2 to ubuntu/focal-proposedSeyeong Kim
Imported using git-ubuntu import. Changelog parent: 251005dec19cfe8337b887edf04e7134632e1872 New changelog entries: * d/t/killswitches-no-urfkill - Call udevadm settle before nmcli radio wifi To make sure that change is updated. (LP: #1733321)
2020-02-26remove debug file added to the vcs by errorSebastien Bacher
2020-02-05* debian/patches/gitlab_connection_ready.patch:Sebastien Bacher
- backport an upstream candidate fix for test regressions from the current version
2019-12-06LP: #1855183Dan Streetman
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/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