-
Notifications
You must be signed in to change notification settings - Fork 48
Andrew/test coverage #397
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
Merged
Merged
Andrew/test coverage #397
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
41133f2
Make tabs_ready public
ayjayt d4a5bd4
Add some types to kaleido.py
ayjayt 0cbd7c0
Merge branch 'master' into andrew/test_coverage
ayjayt 196aca7
Merge branch 'master' into andrew/sometypes
ayjayt 4b1ea3c
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt 583b8c8
Upgrade choreographer for typing.
ayjayt d36dbab
Add types to __init__
ayjayt 9838ac4
Fix some bad typing in __init__.py
ayjayt 7d4d297
Improve page logic.
ayjayt 5719383
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt cbd925b
Add claude run on init and public api
ayjayt d99bb88
Move pytest async detection to auto
ayjayt 6d3cf13
Iterate with Claude on test_public_api
ayjayt e4ba49c
Make corrections to public api tests.
ayjayt 1898bd9
Fix up test_init
ayjayt 4147850
Add comments.
ayjayt 7a808b4
Reorganize a bit.
ayjayt abcc184
Make error_log/profiler 100% optional in __init__
ayjayt 24d0dab
Iterate with claude on public_api test.
ayjayt f5cc483
Parameterize public api tests for fig/to_dict()
ayjayt 9489b71
Change to using args fixtures.
ayjayt 824230c
Remove regex for html parsing.
ayjayt d152afa
Fix non-existent function
ayjayt ec62908
Fix whitespace errors.
ayjayt 930f338
Add types for page_generaetor.
ayjayt 3ddb876
Merge branch 'andrew/sometypes' into andrew/test_coverage
ayjayt f9175fb
Add hypothesis tests generated by Claude.
ayjayt 2b20a3e
Fix file path ensuring error.
ayjayt a71a202
Add hypothesis.
ayjayt 63332ca
Allow _ensure_path to deal with str/encoding combos
ayjayt d495e34
Tweak manually hypothesis tests in PageGenerator
ayjayt e92fca8
Rename test file
ayjayt 6711e61
Fix bad mathjax conditional
ayjayt 76ad595
Add more types to Kaleido
ayjayt cfdacc1
Add check for None value.
ayjayt 9fd331c
Fix kaleido typing errors.
ayjayt e3d5a87
Iterate on kaleido.py tests claude
ayjayt c8afc88
Mark test skipped for after refactor.
ayjayt 30eecca
Add further kaleido tests.
ayjayt 8ca2ae7
Split context/noncontext tests into two
ayjayt 84629f3
Close browser before cancelling kaleido tasks.
ayjayt 74c8765
Reorganize so __init__ creates no tmp dir
ayjayt d2dd530
Fix test_kaleido tests.
ayjayt cc97c41
Remove forcefail
ayjayt 0adba8f
Shore up current file detecting for testing.
ayjayt a115723
Use tmp_path not __file__ for valid file.
ayjayt 6f281f8
Supress unhelpful hypo health checks.
ayjayt be01fdb
Add faster assert to prove file existence
ayjayt 0bca6f7
Add additional url parsing tool.
ayjayt a76fbad
Make special fixture for non existent file URI:
ayjayt 719a7fd
Fix bad path definition
ayjayt 02a1f80
Change function to str, so don't call
ayjayt cfb4eff
Be more explicit in path parsing.
ayjayt f9e7f64
Add missing function.
ayjayt 69294ed
Add logging.
ayjayt 5407965
Add yet more logging.
ayjayt 33ead6d
Fix bad logic.
ayjayt 449282b
Tone down unreasonable 20 processor test.
ayjayt 62fcefe
Remove hypo deadlines for slow CI runners.
ayjayt 501fb80
Organize a bit conftest.py
ayjayt b8f7185
Clear up mathjax logic.
ayjayt 970f8b8
Test Path() as well as str() in filenotfound tests.
ayjayt 7c70737
Fix to properly validate Path() types
ayjayt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In what situation could these arguments be tuples? Is that documented anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its probably not documented, but actually, I think plotly.js was getting misinterpreted by the browser as
utf-16
, so i had to set it asutf-8
manually. So the tuple is(link, encoding)
.I think its a hidden feature at the moment, I haven't done a revision of the documentation, I was thinking of making it a
NamedTuple
.