]> code.ossystems Code Review - openembedded-core.git/commit
lib/oeqa/runtime: rewrite the systemd test module
authorStefan Stanacar <stefanx.stanacar@intel.com>
Wed, 18 Dec 2013 19:02:05 +0000 (21:02 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2013 12:25:23 +0000 (12:25 +0000)
commit0aa5b97f9e0d8941ce342e9f162dd3b19d4b49bb
treef5fbee2d77f8153924b3edba93167d9893e92d4e
parent0e462295d9db0201fb1ba2b6247ecb05fa7fcee1
lib/oeqa/runtime: rewrite the systemd test module

They are basically the same tests but:
- they look cleaner, using one single method / assert
- output from unittest will be cleaner (and includes a verbose status when needed)
- they are better grouped and use a real, active, enabled service
  (machineid will be dropped and hostnamed was a static service)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/lib/oeqa/runtime/systemd.py