-
Notifications
You must be signed in to change notification settings - Fork 22
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
[16.0][MIG] connector_ertransit #356
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 16.0 #356 +/- ##
==========================================
+ Coverage 28.95% 29.09% +0.14%
==========================================
Files 44 50 +6
Lines 1568 1739 +171
Branches 360 395 +35
==========================================
+ Hits 454 506 +52
- Misses 1113 1232 +119
Partials 1 1 ☔ View full report in Codecov by Sentry. |
if not er.login(): | ||
raise exceptions.ValidationError("Error on logging in") |
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.
Use just ValidationError("Error on logging in")
without exceptions
@@ -25,37 +24,43 @@ def _select_state(self): | |||
("production", "In Production"), |
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.
Fix the indentation
if not er.login(): | ||
raise exceptions.ValidationError("Error on logging in") | ||
|
||
raise exceptions.ValidationError(_("Error on logging in")) |
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.
Same
if not er.logout(): | ||
raise exceptions.ValidationError("Error on logging out") |
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.
Same
if not er.logout(): | ||
raise exceptions.ValidationError("Error on logging out") | ||
|
||
raise exceptions.ValidationError(_("Error on logging out")) |
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.
Same
@@ -147,14 +144,16 @@ def _update_javax_faces_viewstate(self, res): | |||
for t in tag_javax: | |||
if "value" not in t.attrib: | |||
raise Exception( |
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.
Use ValidationError
@@ -147,14 +144,16 @@ def _update_javax_faces_viewstate(self, res): | |||
for t in tag_javax: | |||
if "value" not in t.attrib: | |||
raise Exception( | |||
"Unexpected, the javax.faces.ViewState element if found must have value attribute" | |||
"Unexpected, the javax.faces.ViewState element " | |||
"if found must have value attribute" | |||
) | |||
if not self.javax_face_viewstate: | |||
self.javax_face_viewstate = t.attrib["value"] | |||
else: | |||
if self.javax_face_viewstate != t.attrib["value"]: | |||
raise Exception( |
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.
ValidationError
15006ea
to
a8fbefc
Compare
a8fbefc
to
31e503a
Compare
… additonally to a comma separator
31e503a
to
70f0344
Compare
No description provided.