From d42a2a5567958ea052aac0ab0dc291876f97f4e2 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Thu, 21 Apr 2016 11:14:52 +0300 Subject: regression: fix functional filters test path stateful API: add get_files, get_files_list --- scripts/automation/regression/functional_tests/filters_test.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'scripts/automation/regression/functional_tests') diff --git a/scripts/automation/regression/functional_tests/filters_test.py b/scripts/automation/regression/functional_tests/filters_test.py index abb92999..fbb8a126 100644 --- a/scripts/automation/regression/functional_tests/filters_test.py +++ b/scripts/automation/regression/functional_tests/filters_test.py @@ -1,14 +1,7 @@ #!/router/bin/python import functional_general_test -#HACK FIX ME START -import sys -import os - -CURRENT_PATH = os.path.dirname(os.path.realpath(__file__)) -sys.path.append(os.path.abspath(os.path.join(CURRENT_PATH, '../../trex_control_plane/common'))) -#HACK FIX ME END -import filters +from trex_stl_lib.utils import filters from nose.tools import assert_equal from nose.tools import assert_not_equal from nose.tools import assert_raises -- cgit