NetworkManager/src/tests
Lubomir Rintel 5238ab7fc9 client/tests: move run_post() TestNmcli
It attempts to modify attributes clearly belong to TestNmcli such as
_skip_test_for_l10n_diff or call methods that are in unittest.TestCase:

  ======================================================================
  ERROR: test_002 (__main__.TestNmcli.test_002)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File ".../src/tests/client/test-client.py", line 1508, in f
      self.ctx.run_post()
      ~~~~~~~~~~~~~~~~~^^
    File ".../src/tests/client/test-client.py", line 1185, in run_post
      self.fail(
      ^^^^^^^^^
  AttributeError: 'NMTestContext' object has no attribute 'fail'

It has presumably been moved out of TestNmcli at some point, but that
seems to have been in error, as it's also pretty specific to the nmcli
test cases. Not useful for cloud-init tests that also utilize
NMTestContext. Move it back.
2024-12-17 02:21:13 +01:00
..
client client/tests: move run_post() TestNmcli 2024-12-17 02:21:13 +01:00
check-systemd-unit.sh test/check-systemd-unit: skip if systemd too old 2024-10-30 11:04:36 +01:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

tests

Contains some unit tests that don't clearly fit a category to be placed in a different location.

Maybe a better place should be found and this directory should go away.