From ecdec6d866c936bd234230df9cee54fc35b2d63c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 14 Jan 2014 17:34:08 +0100 Subject: 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 --- libmount/python/test_mount_context.py | 4 +++- libmount/python/test_mount_tab.py | 4 +++- libmount/python/test_mount_tab_update.py | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libmount/python/test_mount_context.py b/libmount/python/test_mount_context.py index deb1c2ccf..7aea444b1 100755 --- a/libmount/python/test_mount_context.py +++ b/libmount/python/test_mount_context.py @@ -2,7 +2,9 @@ import os import sys import stat import errno -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} [testoptions]\nTests:\n".format(sys.argv[0])) diff --git a/libmount/python/test_mount_tab.py b/libmount/python/test_mount_tab.py index 9d7d4edca..1f63b9554 100755 --- a/libmount/python/test_mount_tab.py +++ b/libmount/python/test_mount_tab.py @@ -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} [testoptions]\nTests:\n".format(sys.argv[0])) diff --git a/libmount/python/test_mount_tab_update.py b/libmount/python/test_mount_tab_update.py index f1b0332d0..a16e9e341 100755 --- a/libmount/python/test_mount_tab_update.py +++ b/libmount/python/test_mount_tab_update.py @@ -2,7 +2,9 @@ import os import sys import stat import errno -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} [testoptions]\nTests:\n".format(sys.argv[0])) -- cgit v1.2.3-55-g7522