Skip to content

Conversation

Ferenc-
Copy link
Member

@Ferenc- Ferenc- commented Sep 1, 2023

  • Use the unittest module's assert in unit tests.
  • Drop legacy branching for unsupported 2.7
  • Eliminate unused variables
  • Remove superfluous initializations
  • Use unpack assignments

Copy link
Member

@pvital pvital left a comment

Choose a reason for hiding this comment

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

Great work! We should review all the tests and refactor them.

I have one comment only: it's not a big deal, but it's a best practice for readability.

Copy link
Member

@pvital pvital left a comment

Choose a reason for hiding this comment

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

LGTM

* Use the `unittest` module's `assert` in unit tests.
* Drop legacy branching for unsupported 2.7
* Eliminate unused variables
* Remove superfluous initializations
* Use unpack assignments

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
@Ferenc- Ferenc- requested a review from pvital September 4, 2023 17:36
Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
@Ferenc- Ferenc- requested a review from GSVarsha September 5, 2023 08:52
Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
Copy link
Contributor

@GSVarsha GSVarsha left a comment

Choose a reason for hiding this comment

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

Looks Good To Me!

Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
@Ferenc- Ferenc- merged commit b951f7f into master Sep 6, 2023
@Ferenc- Ferenc- deleted the test-refactor branch September 6, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants