-
Notifications
You must be signed in to change notification settings - Fork 68
Fix minor bugs and tidy tests up #98
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
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0fb7bbe
Fix error tests
florijanstamenkovic e4de4fe
Improve DbObject equality testing
florijanstamenkovic 5389da0
Make to-one relationship fetching more robust
florijanstamenkovic 085c6f3
Fix Project.labels ordering
florijanstamenkovic e03ffd7
Mark tests as xfail (server-side issues) or skip (with added TODO) to…
florijanstamenkovic de57a9e
Skip slow tests when running tox
florijanstamenkovic 7f90eab
Delete test_logger as it tests Pytest and not Labelbox
florijanstamenkovic 35a2d77
Update CHANGELOG
florijanstamenkovic 256de7a
Perform YAPF
florijanstamenkovic 2ce1532
Add pytest as GH action dep
florijanstamenkovic a6b6363
Replace pytest invocation with tox in GitHub action
florijanstamenkovic 4f90219
Add all Py versions to GitHub build workflow
florijanstamenkovic 51ccc24
Fix tox invocation in GitHub workflow
florijanstamenkovic b733f15
Remove unnecessary dependency in GH workflow
florijanstamenkovic 15a0593
Change pytest flags in GitHub build
florijanstamenkovic ca4e2a2
Remove 'not slow' from tox pytest invocation
florijanstamenkovic b59c494
Treat 'upstream connect error' as something to retry after
florijanstamenkovic 9e04b13
Increase number of requests in the API call limit test
florijanstamenkovic 1d89f59
Skipping API limit test due to flakyness
florijanstamenkovic 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import pytest | ||
import requests | ||
|
||
|
||
def test_file_uplad(client, rand_gen): | ||
# TODO it seems that at some point Google Storage (gs prefix) started being | ||
# returned, and we can't just download those with requests. Fix this | ||
@pytest.mark.skip | ||
def test_file_upload(client, rand_gen): | ||
data = rand_gen(str) | ||
url = client.upload_data(data.encode()) | ||
assert requests.get(url).text == data |
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 was deleted.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.