Closed lferran closed 4 years ago
@lferran it seems the test started failed in this commit https://github.com/plone/guillotina/commit/1212c6fd0dbbe0252b1287e680e29be338f1c924
The problem is here: https://github.com/plone/guillotina/commit/1212c6fd0dbbe0252b1287e680e29be338f1c924#diff-b5c749b5b1f60f743b66487afd3aa472R21
should be super().__init__(value, type, field_name)
ouch, it still fails.
hmmm, I don't understand how this has happened multiple times now that something was reporting that it passed...
@lferran I pushed fix to your branch.
I think there's a ghost...
I think it the ghost was because of this https://github.com/plone/guillotina/pull/936/commits/039cda8cbaa3555950c01ff6937e6d9d6dbcf1b8
I got all tests running now without having to modify the super().__init__(value)
does it make sense at all?
Yes, because @vangheem changed the test https://github.com/plone/guillotina/pull/936/commits/9f9e8d017c9ae781ebac4fbbefc288d3f341f423 , right?
:exclamation: No coverage uploaded for pull request base (
5.x@670cde7
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## 5.x #936 +/- ##
=====================================
Coverage ? 94.6%
=====================================
Files ? 306
Lines ? 27911
Branches ? 0
=====================================
Hits ? 26393
Misses ? 1518
Partials ? 0
Impacted Files | Coverage Δ | |
---|---|---|
guillotina/test_package.py | 96.7% <ø> (ø) |
|
guillotina/component/_api.py | 97.3% <100%> (ø) |
|
guillotina/tests/test_swagger.py | 100% <100%> (ø) |
|
guillotina/api/service.py | 93.3% <100%> (ø) |
|
guillotina/schema/tests/test__field.py | 99.3% <100%> (ø) |
|
guillotina/schema/exceptions.py | 100% <100%> (ø) |
@masipcat so you are suggesting to change back to
super().__init__(value, type, ...)
and undo nathan's changes on the test, aren't you?
@masipcat any idea why this test is failing? it has nothing to do with my changes as far as I understand :thinking: