File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import io
22import json
33from urllib .parse import urljoin
4- from vws .exceptions import MaxNumResultsOutOfRange
54
65import requests
76from urllib3 .filepost import encode_multipart_formdata
87
8+ from vws .exceptions import MaxNumResultsOutOfRange
9+
910from ._authorization import authorization_header , rfc_1123_date
1011
1112
Original file line number Diff line number Diff line change 88from mock_vws import MockVWS
99from mock_vws .database import VuforiaDatabase
1010
11- from vws import CloudRecoService , VWS
11+ from vws import VWS , CloudRecoService
1212
1313pytest_plugins = [ # pylint: disable=invalid-name
1414 'tests.fixtures.images' ,
Original file line number Diff line number Diff line change 44
55import io
66import uuid
7+
78import pytest
89
910from vws import VWS , CloudRecoService
@@ -107,8 +108,6 @@ def test_custom(
107108 )
108109 assert len (matches ) == 2
109110
110-
111-
112111 def test_too_many (
113112 self ,
114113 cloud_reco_client : CloudRecoService ,
@@ -127,7 +126,6 @@ def test_too_many(
127126 assert str (exc .value ) == expected_value
128127
129128
130-
131129# TODO test custom base URL
132130# TODO test bad credentials
133131# TODO test options - max_num_results + include_target_data
You can’t perform that action at this time.
0 commit comments