aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/web_entity_views.py
Commit message (Collapse)AuthorAgeFilesLines
* fmt (black): tests/Bryan Newbold2021-11-021-122/+137
|
* python: isort everythingBryan Newbold2021-11-021-1/+2
|
* lint: simple, safe inline lint fixesBryan Newbold2021-11-021-1/+1
| | | | '==' vs 'is'; 'not a in b' vs 'a not in b'; etc
* web: route constraints on fcids and UUIDsBryan Newbold2020-09-171-4/+6
| | | | | | | | | | | Instead of accepting any string for these parameters and throwing a 400 error if not the correct type, implement better route matching at the framework level and return more 404s. This resolves several outstanding sentry exceptions. The "flask-uuid" was imported and seems to have been configured for this purpose previously, but I guess I never finished configuring it.
* wire up new TOML viewsBryan Newbold2020-07-301-8/+8
|
* refactor coverage tests/mocksBryan Newbold2020-07-301-2/+17
|
* lint (flake8) python test filesBryan Newbold2020-07-011-4/+0
|
* Merge pull request #53 from EdwardBetts/spellingbnewbold2020-03-271-1/+1
|\ | | | | Correct spelling mistakes
| * Correct spelling mistakesEdward Betts2020-03-271-1/+1
| |
* | catch ApiValueError in some generic API callsBryan Newbold2020-03-251-0/+2
|/ | | | | | | | | | | | | The motivation for this change is to handle bogus revision IDs in URLs, which were causing 500 errors not 400 errors. Eg: https://qa.fatcat.wiki/file/rev/5d5d5162-b676-4f0a-968f-e19dadeaf96e%2B2019-11-27%2B13:49:51%2B0%2B6 I have no idea where these URLs are actually coming from, but they should be 4xx not 5xx. Investigating made me realize there is a whole category of ApiValueError exceptions we were not catching and should have been.
* regression test for deleted entity history viewBryan Newbold2019-12-091-0/+25
|
* redirect direct entity underscore linksBryan Newbold2019-10-031-0/+2
|
* refactor all python source for client lib nameBryan Newbold2019-09-051-1/+1
|
* complete generic entity rev viewsBryan Newbold2019-06-281-8/+46
| | | | | | Was getting 500s in production from crawlers. Also expand test coverage.
* start adding some new web route testsBryan Newbold2019-06-131-0/+6
|
* update tests for lookup viewsBryan Newbold2019-06-051-3/+3
|
* release lookup viewBryan Newbold2019-06-051-1/+1
|
* python tests passing (release_stage, ext_ids)Bryan Newbold2019-05-131-2/+2
|
* TODO: handle 'already merged' in edit forms betterBryan Newbold2019-04-041-1/+4
|
* test already-merged editgroup_id (via web form)Bryan Newbold2019-04-041-2/+14
|
* add basic tests for a bunch of form handling codeBryan Newbold2019-04-041-17/+137
|
* many web test improvementsBryan Newbold2019-04-041-11/+20
|
* start improving webface test coverageBryan Newbold2019-04-041-0/+153