Fixed module loading in the Python Tests file.
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="src\playbackExample.py">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="src\monitorExample.py">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user