Fixed module loading in the Python Tests file.
This commit is contained in:
@@ -25,6 +25,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="src\playbackExample.py">
|
<Compile Include="src\playbackExample.py">
|
||||||
|
<SubType>Code</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="src\monitorExample.py">
|
<Compile Include="src\monitorExample.py">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import unittest
|
|||||||
import imp
|
import imp
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import xpc
|
xpc = imp.load_source('xpc', '../../Python/src/xpc.py')
|
||||||
|
|
||||||
class XPCTests(unittest.TestCase):
|
class XPCTests(unittest.TestCase):
|
||||||
"""Tests the functionality of the XPlaneConnect class."""
|
"""Tests the functionality of the XPlaneConnect class."""
|
||||||
|
|||||||
Reference in New Issue
Block a user