diff options
Diffstat (limited to 'os_net_config')
-rw-r--r-- | os_net_config/tests/test_cli.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os_net_config/tests/test_cli.py b/os_net_config/tests/test_cli.py index 908dd7e..6308df8 100644 --- a/os_net_config/tests/test_cli.py +++ b/os_net_config/tests/test_cli.py @@ -22,7 +22,9 @@ from os_net_config.tests import base import six -SAMPLE_BASE = os.path.join('.', 'etc', 'os-net-config', 'samples') +REALPATH = os.path.dirname(os.path.realpath(__file__)) +SAMPLE_BASE = os.path.join(REALPATH, '../../', 'etc', + 'os-net-config', 'samples') class TestCli(base.TestCase): |