Skip to content

[MIG][15.0] connector + component_event + test_connector#425

Merged
OCA-git-bot merged 3 commits intoOCA:15.0from
camptocamp:15.0_mig_connector
Jan 25, 2022
Merged

[MIG][15.0] connector + component_event + test_connector#425
OCA-git-bot merged 3 commits intoOCA:15.0from
camptocamp:15.0_mig_connector

Conversation

@i-vyshnevska
Copy link
Copy Markdown
Member

No description provided.

@i-vyshnevska i-vyshnevska force-pushed the 15.0_mig_connector branch 5 times, most recently from 6712d19 to 4cddca9 Compare December 2, 2021 15:00
@simahawk
Copy link
Copy Markdown
Contributor

simahawk commented Dec 2, 2021

test_connector should be migrated too

@i-vyshnevska i-vyshnevska force-pushed the 15.0_mig_connector branch 4 times, most recently from 140e13d to 15a87af Compare December 3, 2021 12:58
@i-vyshnevska i-vyshnevska changed the title [MIG][15.0] connector + connector_event [MIG][15.0] connector + component_event Dec 5, 2021
@i-vyshnevska
Copy link
Copy Markdown
Member Author

@simahawk ready for review

@@ -162,7 +139,7 @@ class TestEvent(ComponentRegistryCase):

def setUp(self):
super(TestEvent, self).setUp()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
super(TestEvent, self).setUp()
super().setUp()

@@ -392,6 +369,7 @@ class TestEventFromModel(TransactionComponentRegistryCase):

def setUp(self):
super(TestEventFromModel, self).setUp()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
super(TestEventFromModel, self).setUp()
super().setUp()

Comment on lines +23 to +25
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.test_sequence = 0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't meet such code before. Could you pls explain what self.test_sequence = 0 is for?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the field is defined in odoo metatest class
https://github.com/odoo/odoo/blob/5cfce06bf92cc746b4dc3b2b554ad57daac1af1d/odoo/tests/common.py#L296
but us we inherit here form uittetst we also need this field so odoo will be able to run test

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@i-vyshnevska thanks for the explanation

@simahawk simahawk mentioned this pull request Dec 20, 2021
6 tasks
@saxomanu
Copy link
Copy Markdown

Is it ready to merge ? what is missing ? Can i help ?

@i-vyshnevska
Copy link
Copy Markdown
Member Author

@simahawk can you pass another review

Comment on lines +23 to +25
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.test_sequence = 0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simahawk
Copy link
Copy Markdown
Contributor

@i-vyshnevska pls squash when done

@simahawk simahawk changed the title [MIG][15.0] connector + component_event [MIG][15.0] component + component_event Jan 25, 2022
Copy link
Copy Markdown
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@i-vyshnevska there's a mistake.
There's a commit to migrate "test_connector" but I don't see "test_component".
Also that commit contains unrelated changes 1e0c578
We need test_component here. Plus, I wonder how tests for test_connector

Copy link
Copy Markdown
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, my bad, I got confused by names. Re-checked 15.0, LG.

@simahawk simahawk changed the title [MIG][15.0] component + component_event [MIG][15.0] connector + component_event + test_connector Jan 25, 2022
@simahawk
Copy link
Copy Markdown
Contributor

/ocabot migration connector
/ocabot migration test_connector
/ocabot migration component_event

@OCA-git-bot OCA-git-bot added this to the 15.0 milestone Jan 25, 2022
@simahawk
Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 15.0-ocabot-merge-pr-425-by-simahawk-bump-nobump, awaiting test results.

@simahawk simahawk mentioned this pull request Jan 25, 2022
1 task
@OCA-git-bot OCA-git-bot merged commit 05aa216 into OCA:15.0 Jan 25, 2022
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 5b37cb7. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants