Skip to content

Commit

Permalink
chore: some lint fixes [(#3751)](#3751)
Browse files Browse the repository at this point in the history
* chore: some lint fixes

* longer timeout, more retries

* disable detect_test.py::test_async_detect_document
  • Loading branch information
Takashi Matsuo authored and leahecole committed Sep 15, 2023
1 parent 47c922e commit 3623a03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion videointelligence/samples/analyze/beta_snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from six.moves.urllib.request import urlopen
import os
import uuid

from google.cloud import storage
import pytest
from six.moves.urllib.request import urlopen

import beta_snippets


POSSIBLE_TEXTS = [
"Google",
"SUR",
Expand Down Expand Up @@ -129,6 +130,7 @@ def test_detect_text_gcs(capsys):
out, _ = capsys.readouterr()
assert 'Text' in out


# Flaky InvalidArgument
@pytest.mark.flaky(max_runs=3, min_passes=1)
def test_track_objects(capsys):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# [START video_detect_faces_beta]
import io

from google.cloud import videointelligence_v1p3beta1 as videointelligence


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# [START video_detect_person_beta]
import io

from google.cloud import videointelligence_v1p3beta1 as videointelligence


Expand Down

0 comments on commit 3623a03

Please sign in to comment.