summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-12-16 21:05:38 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-12 12:26:51 -0400
commit5aab3fc3b41ca06e66463f66ed9cc936a03a18fd (patch)
tree2db6fca65738888b6e652125c5e943b3bc27f6c4 /setup.py
parent8921c79fb98e5e04c0e2f00813e9d8e015e4206e (diff)
downloadpython-systemd-5aab3fc3b41ca06e66463f66ed9cc936a03a18fd.tar.gz
tests: move login tests from doctest to separate file
This way we can skip ENOENT (which happens in containers). While at it, let's extend the tests a bit, so that we at least call all functions and check the type of the return value. Also, drop '.nspawn' from the machine name, nspawn doesn't use that suffix any more.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 1acfbc5..70c2780 100644
--- a/setup.py
+++ b/setup.py
@@ -92,7 +92,9 @@ setup (name = 'systemd-python',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
],
py_modules = ['systemd.journal', 'systemd.daemon',
- 'systemd.test.test_daemon', 'systemd.test.test_journal'],
+ 'systemd.test.test_daemon',
+ 'systemd.test.test_journal',
+ 'systemd.test.test_login'],
ext_modules = [_journal,
_reader,
_daemon,