-
Notifications
You must be signed in to change notification settings - Fork 4
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
wip-NXPY-239: fix tests cases on python #271
Conversation
|
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 0.03%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Codecov ReportBase: 96.58% // Head: 96.30% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #271 +/- ##
==========================================
- Coverage 96.58% 96.30% -0.29%
==========================================
Files 29 26 -3
Lines 1787 1624 -163
==========================================
- Hits 1726 1564 -162
+ Misses 61 60 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
d70d42c
to
36dfa8a
Compare
9a14d9e
to
e12d657
Compare
.github/workflows/unit_tests.yml
Outdated
@@ -23,18 +23,15 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
nuxeo: | |||
- "2021" | |||
- "10.10" |
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.
why 10.10?
.github/workflows/unit_tests.yml
Outdated
credentials: | ||
username: ${{ secrets.NUXEO_DOCKER_USER }} | ||
password: ${{ secrets.NUXEO_DOCKER_PWD }} | ||
image: nuxeo/nuxeo:${{ matrix.nuxeo }} |
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.
This may not be required?
""" | ||
if a is None: | ||
if b is None: | ||
if str(a) == "0": |
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.
What are we trying to compare?
tests/constants.py
Outdated
@@ -2,3 +2,4 @@ | |||
WORKSPACE_ROOT = "/default-domain/workspaces" | |||
WORKSPACE_NAME = "ws-python-tests" | |||
WORKSPACE_TEST = WORKSPACE_ROOT + "/" + WORKSPACE_NAME | |||
NUXEO_SERVER_URL = "http://localhost:8080/nuxeo/" # "http://localhost:8080/nuxeo/" / "https://localhost:8443/nuxeo/" |
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.
remove commented code
uploader._timeout = 0.00001 | ||
assert uploader.timeout(chunk_size) == 0.00001 | ||
|
||
uploader._timeout = 0.0000000000001 |
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.
is it require?
52af77b
to
86958b2
Compare
86958b2
to
755d763
Compare
621fd2d
to
8dd3fd2
Compare
8dd3fd2
to
1866b4d
Compare
wip-NXPY-239: fix tests cases on python