Commit Graph

22 Commits

Author SHA1 Message Date
Ömer Faruk Özdemir
4c5e116709 Format-The-Codebase
- add a format script
- solve a conflict between flake8 and black
2022-02-10 11:12:26 +03: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
018123e9b7 added more detail on error analytics 2022-01-11 15:28:03 -06:00
Abubakar Abid
86c6a61b55 fixed tests 2022-01-07 10:25:41 -06:00
Abubakar Abid
c3cb06a17c fixed tests 2022-01-04 12:58:37 -05:00
Abubakar Abid
118315fe4b fixed tests; had to remove one from utils 2021-12-21 13:40:22 -06:00
Abubakar Abid
8dc11093b9 significant cleanup and test fixes 2021-12-16 09:43:31 -06: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
AK391
403bc1e84a
Merge branch 'gradio-app:master' into master 2021-10-26 18:25:22 -04:00
Abubakar Abid
708838ff5d added ipython to testing dependency 2021-10-26 13:28:39 -05:00
Abubakar Abid
44f5600fd5 made ipython tests skipped if not imported 2021-10-26 13:20:18 -05:00
AK391
3c3a33d3c5 test update inferface 2021-10-25 15:29:55 -04:00
Abubakar Abid
4d11db59ee removed stale comment 2021-10-22 07:20:03 -05:00
AK391
6608a4042f test changes 2021-10-21 17:30:32 -04:00
AK391
a109ae25f4 test update util 2021-10-20 13:19:39 -04:00
AK391
86f79bb6d6
Update test_utils.py 2021-10-20 12:33:25 -04:00
Abubakar Abid
9ed2f1fe29 fixed warnings & unittests 2021-09-14 10:28:55 -05:00
Pradyumna Rahul
c4eeac0ca4 Adds clauses for specific exceptions in version check (#261)
When any exceptions occurs in the "try" block of the code, it would
handle it the same way regardless.
In the `version_check`, there are 4 possibilities for an error to
occur. These are as follows:
1) Gradio package is installed improperly due to which the version information is inaccessible.
2) JSON cannot be parsed from the Package version URL.
3) JSON that is parsed from the URL does not contain version information.
4) The Package URL is not accessible.

Refactored method to handle these cases and provide appropriate messages.

Co-authored-by: Pradyumna Rahul <pradyumnar@Pradyumnas-MacBook-Pro.local>
2021-09-02 14:01:51 -07:00