]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd-tests.py: remove some java-style boilerplate
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 5 Jun 2019 10:08:09 +0000 (12:08 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Jun 2019 12:11:28 +0000 (14:11 +0200)
commitec38833c7562d945634b874fc58343145ab67af3
tree5f62c0956d9f7fc316bf32e94f1b40c9442c43f3
parentcefd6b3db81d27a2d55d34c0b2431bfef5a9d358
networkd-tests.py: remove some java-style boilerplate

A class was used to put some utility functions under a namespace. But then this
namespace was inherited into classes, so the namespace split was undone. Let's
just define those functions in the module namespace.

(The Utilities class with a few functions still remain, because of the
unittest-style self.assert* craziness.)
test/test-network/systemd-networkd-tests.py