Commit Graph

12 Commits

Author SHA1 Message Date
Freddy Boulton
e0a55df7dc
Modify CI to check for unused imports (#2555)
* Add lint script + remove unused imports

* Add lint file to sc
2022-10-28 10:56:18 -04:00
Ömer Faruk Özdemir
e5fd0edce1
fix tunneling test (#1694)
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-04 17:04:44 +03:00
Halil Ibrahim Bestil
51c8c34486
Async Request Class (#1595)
* Implement Request class and its tests.

* Add new requirements

* Reformat codebase.

* Fix formatting.

* Add library level requirements.

* Convert validated_data property to get_validated_data function.

* Fix the client fixture.

* Update test/test_utils.py

* Update test/test_utils.py

* Fix the client fixture.

* Add missing initialization for Request._validated_data

* Fix async test problem with test_tunneling.py

* Update gradio/utils.py

* Update gradio/utils.py

* Fix formatting.

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-23 20:44:04 +03:00
Abubakar Abid
7071c0bd41 replaced networking.url_request with standard requests.get 2022-02-10 00:10:00 -05:00
Ömer Faruk Özdemir
972c66e09b Format-The-Codebase
- solve the flake8 warnings
2022-02-09 22:52:26 +03:00
Ömer Faruk Özdemir
82cb2de626 Accelerate Tests
- add coverage to the circleci
- combine the divided tests into single folder
- update requirements
2022-02-09 08:50:00 +03:00
Ömer Faruk Özdemir
bb6805e25f Accelerate Tests
- Create local and cloud test folders and move all the tests with duration > 1 second to the cloud tests.
- Update scripts
2022-02-07 14:29:55 +03:00
Ömer Faruk Özdemir
cc0cff893f Format The Codebase
- black formatting
- isort formatting
2022-01-21 16:44:12 +03:00
Abubakar Abid
d09b24ae5f fixed tests based on Ali's feedback 2021-11-09 12:30:59 -06:00
Abubakar Abid
424d390319 fixed tests so they do not trigger analytics 2021-11-09 08:48:55 -06:00
Abubakar Abid
f15a033232 added some tests for tunneling 2021-10-27 10:43:34 -05:00
Abubakar Abid
8ee71ce5d7 started tests 2021-10-21 15:02:52 -05:00