Renamed Python client file to decrease ambiguity.
- File and class name no longer conflict. - Better matches the structure of Java client.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>3c7a940d-17c8-4e91-882f-9bc8b1d2f54b</ProjectGuid>
|
<ProjectGuid>3c7a940d-17c8-4e91-882f-9bc8b1d2f54b</ProjectGuid>
|
||||||
<ProjectHome>.</ProjectHome>
|
<ProjectHome>.</ProjectHome>
|
||||||
<StartupFile>src/XPlaneConnect.py</StartupFile>
|
<StartupFile>src\xpc.py</StartupFile>
|
||||||
<SearchPath>
|
<SearchPath>
|
||||||
</SearchPath>
|
</SearchPath>
|
||||||
<WorkingDirectory>.</WorkingDirectory>
|
<WorkingDirectory>.</WorkingDirectory>
|
||||||
@@ -24,7 +24,10 @@
|
|||||||
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
|
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="src/XPlaneConnect.py" />
|
<Compile Include="src\xpc.py" />
|
||||||
|
<Compile Include="src\example.py">
|
||||||
|
<SubType>Code</SubType>
|
||||||
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="src\" />
|
<Folder Include="src\" />
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import unittest
|
|||||||
import imp
|
import imp
|
||||||
import time
|
import time
|
||||||
|
|
||||||
xpc = imp.load_source('xplaneConnect', '../../Python/src/xplaneConnect.py')
|
import xpc
|
||||||
|
|
||||||
class XPCTests(unittest.TestCase):
|
class XPCTests(unittest.TestCase):
|
||||||
"""Tests the functionality of the XPlaneConnect class."""
|
"""Tests the functionality of the XPlaneConnect class."""
|
||||||
|
|||||||
@@ -6,8 +6,7 @@
|
|||||||
<ProjectGuid>6931ebb2-4e01-4c5a-86b6-668c0e75051b</ProjectGuid>
|
<ProjectGuid>6931ebb2-4e01-4c5a-86b6-668c0e75051b</ProjectGuid>
|
||||||
<ProjectHome>.</ProjectHome>
|
<ProjectHome>.</ProjectHome>
|
||||||
<StartupFile>Tests.py</StartupFile>
|
<StartupFile>Tests.py</StartupFile>
|
||||||
<SearchPath>
|
<SearchPath>..\..\Python\src\</SearchPath>
|
||||||
</SearchPath>
|
|
||||||
<WorkingDirectory>.</WorkingDirectory>
|
<WorkingDirectory>.</WorkingDirectory>
|
||||||
<OutputPath>.</OutputPath>
|
<OutputPath>.</OutputPath>
|
||||||
<Name>Tests</Name>
|
<Name>Tests</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user