diff --git a/Python/src/xplaneConnect.py b/Python/src/xpc.py similarity index 100% rename from Python/src/xplaneConnect.py rename to Python/src/xpc.py diff --git a/Python/xplaneConnect.pyproj b/Python/xplaneConnect.pyproj index bc9ff8a..0919359 100644 --- a/Python/xplaneConnect.pyproj +++ b/Python/xplaneConnect.pyproj @@ -5,7 +5,7 @@ 2.0 3c7a940d-17c8-4e91-882f-9bc8b1d2f54b . - src/XPlaneConnect.py + src\xpc.py . @@ -24,7 +24,10 @@ false - + + + Code + diff --git a/TestScripts/Python Tests/Tests.py b/TestScripts/Python Tests/Tests.py index fc98c26..ac6b1b6 100644 --- a/TestScripts/Python Tests/Tests.py +++ b/TestScripts/Python Tests/Tests.py @@ -3,7 +3,7 @@ import unittest import imp import time -xpc = imp.load_source('xplaneConnect', '../../Python/src/xplaneConnect.py') +import xpc class XPCTests(unittest.TestCase): """Tests the functionality of the XPlaneConnect class.""" diff --git a/TestScripts/Python Tests/Tests.pyproj b/TestScripts/Python Tests/Tests.pyproj index d39f8ab..c1626b5 100644 --- a/TestScripts/Python Tests/Tests.pyproj +++ b/TestScripts/Python Tests/Tests.pyproj @@ -6,8 +6,7 @@ 6931ebb2-4e01-4c5a-86b6-668c0e75051b . Tests.py - - + ..\..\Python\src\ . . Tests