From 5130e7843e27639fc3c0ed08bf02d3c90b27f31f Mon Sep 17 00:00:00 2001 From: Rahul Huilgol Date: Fri, 22 Nov 2019 19:12:34 -0800 Subject: [PATCH] Import testspath --- tests/zero_code_change/tensorflow_integration_tests.py | 1 + tests/zero_code_change/tests_path.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 tests/zero_code_change/tests_path.py diff --git a/tests/zero_code_change/tensorflow_integration_tests.py b/tests/zero_code_change/tensorflow_integration_tests.py index 12c4d41cc..2e8d3f867 100644 --- a/tests/zero_code_change/tensorflow_integration_tests.py +++ b/tests/zero_code_change/tensorflow_integration_tests.py @@ -14,6 +14,7 @@ We check that certain tensors are saved. Here in the test suite we delete the hook after every script. """ +from tests_path import * # isort:skip # Standard Library import argparse diff --git a/tests/zero_code_change/tests_path.py b/tests/zero_code_change/tests_path.py new file mode 100644 index 000000000..f58ea66ce --- /dev/null +++ b/tests/zero_code_change/tests_path.py @@ -0,0 +1,6 @@ +# Standard Library +import os +import sys + +# Hack to import tests.tensorflow +sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))