Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[formrecognizer] adds tests for forms in other languages #15173

Merged

Conversation

kristapratico
Copy link
Member

Resolves #14368

@kristapratico kristapratico marked this pull request as ready for review November 11, 2020 17:02
@kristapratico kristapratico removed the request for review from danieljurek November 11, 2020 17:02
@kristapratico kristapratico merged commit a7e0adf into Azure:feature/formrecognizer2.1 Nov 11, 2020
@kristapratico kristapratico deleted the lang-tests branch November 11, 2020 20:04
kristapratico added a commit that referenced this pull request Nov 23, 2020
* [formrecognizer] 2.1-preview.2 gen and impl (#14929)

* regen

* add invoice impl

* regen with image/bmp content type for all analyze methods

* support word appearance (gen code only)

* support page_range kwonly arg on content API

* add bounding_box to FormTable

* fix spacing

* add invoice tests

* add invoice samples

* revert erroneous search commit

* add docstring samples for business cards and invoices

* add aka link for fields to business card and invoice samples

* add invoice to readme

* add support for image/bmp

* regen with new changes and hook up gen code

* update changelog

* add tests for content - specify pages

* regen with text appearance on line instead of word

* add appearance to exposed model for FormLine

* update testcase

* fix and add table bounding box check to testcase

* skip receipt/business cards tests until features deployed; uncomment some tests where bugs were fixed

* don't record large request bodies

* fixes to tests/testcase

* more updates to tests

* update logging tests

* update content samples

* moving recordings to another PR

* fix pylint

* fix

* let invoices return tables

* pylint fix

* update readme examples to include invoice for now

* update content_type docstring description

* update grammar

* adding v2.1 recordings (receipt/business card skipped for now) (#14928)

* rerecord an invoice test

Co-authored-by: iscai-msft <[email protected]>

* [formrecognizer] add copy tests for new features in v2.1 (#14987)

* add copy tests for new features in v2.1

* rerecord test

* test that submodels are the same and fix get custom model for composed model

* [formrecognizer] adds language param (#14984)

* regen latest swagger in PR

* add language to form recognizer clients and update changelog

* add basic tests for language

* update docstrings

* newlines

* docstring feedback

* update language docstring to point to service docs for available language codes

* [form recognizer] add tests for invoice multipage (#15012)

* [formrecognizer] fix sphinx errors and unify transform testcase for FormFields (#15056)

* fix sphinx errors

* unify method for checking transform of FormFields and update tests

* switch invoices test to use unified form fields transform check

* accidental whitespace

* [formrecognizer] allow None for required params when passing a continuation_token into an LRO method (#15010)

* update clients such that when using a continuation token, you can pass None for any required params in method

* update continuation token tests

* receipt test - total value fixed (#15159)

* add python 3.9 to setup classifiers (#15208)

* [formrecognizer] adds tests for forms in other languages (#15173)

* adding language option to testcase to get blob url of form

* add sync tests

* add async tests

* add async recordings

* fix testcase for recordings

* [formrecognizer] unskip receipt/business card tests and re-record with preview.2 (#15270)

* rerecord business card and receipt tests with preview.2

* preface commented out test assertions with FIXME

* [formrecognizer] Remove business card ContactNames page_number workaround (#15275)

* revert setting business card ContactNames page number now that service returns this value

* remove workaround in tests

* uncomment receipt test assertions - regression fixed (#15345)

* [formrecognizer] doc updates (#15346)

* docs fixes, wip

* more docs updates

* more doc updates

* [formrecognizer] try using existing resource in live tests (#15483)

* try using existing FR resource

* rename

* fix env var name (#15486)

* [formrecognizer] updates to test in prod (#15491)

* add python 3.9 to live tests matrix

* sleep for 10 mins between resource creating and calls to endpoints

* receipt regression not fixed in prod yet - comment assertions out

* update timeout for live runs for FR (#15492)

* remove sample tests - will be run in smoke tests (#15494)

Co-authored-by: iscai-msft <[email protected]>
Co-authored-by: iscai-msft <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants