From 73bafd2a7eb2e5e781656294ec0201cf93a70aa0 Mon Sep 17 00:00:00 2001 From: Jason Watkins Date: Thu, 20 Aug 2015 08:55:18 -0700 Subject: [PATCH] Fixed module loading in the Python Tests file. --- Python/xplaneConnect.pyproj | 2 ++ TestScripts/Python Tests/Tests.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Python/xplaneConnect.pyproj b/Python/xplaneConnect.pyproj index 651c96f..446a9ff 100644 --- a/Python/xplaneConnect.pyproj +++ b/Python/xplaneConnect.pyproj @@ -25,6 +25,8 @@ + Code + Code diff --git a/TestScripts/Python Tests/Tests.py b/TestScripts/Python Tests/Tests.py index 8a88d32..486803d 100644 --- a/TestScripts/Python Tests/Tests.py +++ b/TestScripts/Python Tests/Tests.py @@ -3,7 +3,7 @@ import unittest import imp import time -import xpc +xpc = imp.load_source('xpc', '../../Python/src/xpc.py') class XPCTests(unittest.TestCase): """Tests the functionality of the XPlaneConnect class."""