-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix support for 3.4 * Fix relative import for Python 3 * Make Travis CI run Tox tests * Run coverage tests with tox in py26 and py34
- Loading branch information
1 parent
8720e43
commit 58537cf
Showing
18 changed files
with
44 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from base_entity import * | ||
from base_resource import BaseResource, RestClient | ||
from .base_entity import * | ||
from .base_resource import BaseResource, RestClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
|
||
# import Exceptions | ||
from exceptions import * | ||
from .exceptions import * | ||
|
||
# import Models | ||
from resources.settings import GlobalSetting | ||
from resources.mappings import Mapping, MappingResponse, MappingRequest, DelayDistribution,\ | ||
from .resources.settings import GlobalSetting | ||
from .resources.mappings import Mapping, MappingResponse, MappingRequest, DelayDistribution,\ | ||
ResponseFaultType, DelayDistributionMethods, BasicAuthCredentials, WireMockMatchers, HttpMethods, \ | ||
CommonHeaders, MappingMeta, AllMappings | ||
from resources.requests import RequestResponse, RequestResponseDefinition, RequestResponseRequest, \ | ||
from .resources.requests import RequestResponse, RequestResponseDefinition, RequestResponseRequest, \ | ||
RequestCountResponse, RequestResponseAll, RequestResponseFindResponse, RequestResponseAllMeta | ||
from resources.near_misses import NearMissMatchResponse, NearMissMatchRequest, NearMissMatchResult, \ | ||
from .resources.near_misses import NearMissMatchResponse, NearMissMatchRequest, NearMissMatchResult, \ | ||
NearMissRequestPatternResult, NearMissMatch, NearMissMatchPatternRequest | ||
|
||
# import Resources | ||
from resources.settings.resource import GlobalSettings | ||
from resources.mappings.resource import Mappings | ||
from resources.requests.resource import Requests | ||
from resources.near_misses.resource import NearMisses | ||
from resources.scenarios.resource import Scenarios | ||
from .resources.settings.resource import GlobalSettings | ||
from .resources.mappings.resource import Mappings | ||
from .resources.requests.resource import Requests | ||
from .resources.near_misses.resource import NearMisses | ||
from .resources.scenarios.resource import Scenarios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from api_exception import ApiException | ||
from api_unavailable_exception import ApiUnavailableException | ||
from client_exception import ClientException | ||
from forbidden_exception import ForbiddenException | ||
from invalid_input_exception import InvalidInputException | ||
from not_found_exception import NotFoundException | ||
from requires_login_exception import RequiresLoginException | ||
from server_exception import ServerException | ||
from timeout_exception import TimeoutException | ||
from unexpected_response_exception import UnexpectedResponseException | ||
from .api_exception import ApiException | ||
from .api_unavailable_exception import ApiUnavailableException | ||
from .client_exception import ClientException | ||
from .forbidden_exception import ForbiddenException | ||
from .invalid_input_exception import InvalidInputException | ||
from .not_found_exception import NotFoundException | ||
from .requires_login_exception import RequiresLoginException | ||
from .server_exception import ServerException | ||
from .timeout_exception import TimeoutException | ||
from .unexpected_response_exception import UnexpectedResponseException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from models import Mapping, MappingResponse, MappingRequest, DelayDistribution, ResponseFaultType, \ | ||
from .models import Mapping, MappingResponse, MappingRequest, DelayDistribution, ResponseFaultType, \ | ||
DelayDistributionMethods, BasicAuthCredentials, WireMockMatchers, HttpMethods, CommonHeaders, \ | ||
MappingMeta, AllMappings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from models import NearMissMatchResponse, NearMissMatchRequest, NearMissMatchResult, NearMissRequestPatternResult, \ | ||
from .models import NearMissMatchResponse, NearMissMatchRequest, NearMissMatchResult, NearMissRequestPatternResult, \ | ||
NearMissMatch, NearMissMatchPatternRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from models import RequestResponse, RequestResponseDefinition, RequestResponseRequest, RequestCountResponse, \ | ||
from .models import RequestResponse, RequestResponseDefinition, RequestResponseRequest, RequestCountResponse, \ | ||
RequestResponseAll, RequestResponseFindResponse, RequestResponseAllMeta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
from models import GlobalSetting | ||
from .models import GlobalSetting |