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:
parent
34330d2bea
commit
ecdec6d866
3 changed files with 9 additions and 3 deletions
|
@ -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]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue