summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression
diff options
context:
space:
mode:
authorDan Klein <danklein10@gmail.com>2016-04-08 23:01:33 +0300
committerDan Klein <danklein10@gmail.com>2016-04-08 23:01:33 +0300
commit6adf866fc403829d5e24603280c6c6917b9fc357 (patch)
treed9303315f92692bcd686952f4f12c86293d5af03 /scripts/automation/regression
parent195e4bda54d8fd49936213a8f28349b96fb5acd2 (diff)
fixed import issue in test (ugly fix for now)
Diffstat (limited to 'scripts/automation/regression')
-rw-r--r--scripts/automation/regression/functional_tests/filters_test.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/automation/regression/functional_tests/filters_test.py b/scripts/automation/regression/functional_tests/filters_test.py
index 5479a70c..cf2c8148 100644
--- a/scripts/automation/regression/functional_tests/filters_test.py
+++ b/scripts/automation/regression/functional_tests/filters_test.py
@@ -1,7 +1,14 @@
#!/router/bin/python
import functional_general_test
-import misc_methods
+#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 nose.tools import assert_equal
from nose.tools import assert_not_equal
from nose.tools import assert_raises