We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bbc2a commit 5e5b744Copy full SHA for 5e5b744
vision/cloud-client/web/requirements-test.txt
@@ -1 +1,2 @@
1
+flaky==3.6.1
2
pytest==5.3.2
vision/cloud-client/web/web_detect_test.py
@@ -12,6 +12,8 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import pytest
16
+
17
import web_detect
18
19
ASSET_BUCKET = "cloud-samples-data"
@@ -24,6 +26,7 @@ def test_detect_file(capsys):
24
26
assert 'description' in out.lower()
25
27
28
29
+@pytest.mark.flaky(max_runs=3, min_passes=1)
30
def test_detect_web_gsuri(capsys):
31
file_name = ('gs://{}/vision/landmark/pofa.jpg'.format(
32
ASSET_BUCKET))
0 commit comments