pylibmount: import directly from pylibmount in tests

This change does not have any impact to in a standard way installed
libmount impact. It's simplification for in-tree tests.

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2014-01-14 17:34:08 +01:00
parent 34330d2bea
commit ecdec6d866
3 changed files with 9 additions and 3 deletions

View file

@ -3,7 +3,9 @@ import sys
import stat
import errno
import functools as ft
import libmount as mnt
# use "import libmount" for in a standard way installed python binding
import pylibmount as mnt
def usage(tss):
print("\nUsage:\n\t{:s} <test> [testoptions]\nTests:\n".format(sys.argv[0]))