From f3b7bdbc510c9372e762024ea60b9f965d7e816e Mon Sep 17 00:00:00 2001 From: nsubiron Date: Tue, 7 Nov 2017 12:47:06 +0100 Subject: [PATCH] Fix test suite --- Util/TestingClient/test/test_suite.py | 3 ++- Util/TestingClient/test/unit_tests/__init__.py | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 Util/TestingClient/test/unit_tests/__init__.py diff --git a/Util/TestingClient/test/test_suite.py b/Util/TestingClient/test/test_suite.py index 57c22b912..7e484e37f 100755 --- a/Util/TestingClient/test/test_suite.py +++ b/Util/TestingClient/test/test_suite.py @@ -19,6 +19,7 @@ import sys import time sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +sys.path.append(os.path.join(os.path.dirname(__file__), '.')) import carla @@ -174,7 +175,7 @@ def main(): logging.info('listening to server %s:%s', args.host, args.port) - print('Running the CARLAUE4 test suite (looks like GTest but is not).') + print('Running the CARLAUE4 test suite (looks like GTest but it\'s not).') do_the_tests(args) diff --git a/Util/TestingClient/test/unit_tests/__init__.py b/Util/TestingClient/test/unit_tests/__init__.py new file mode 100644 index 000000000..45081b562 --- /dev/null +++ b/Util/TestingClient/test/unit_tests/__init__.py @@ -0,0 +1,9 @@ +# Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma de +# Barcelona (UAB), and the INTEL Visual Computing Lab. +# +# This work is licensed under the terms of the MIT license. +# For a copy, see . + +class CarlaServerTest(object): + def __init__(self, args): + self.args = args