Skip to content
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

Test DepositDBConnector #249

Merged
merged 4 commits into from
Nov 24, 2024
Merged

Test DepositDBConnector #249

merged 4 commits into from
Nov 24, 2024

Conversation

olisaagbafor
Copy link
Contributor

May fix #245

@djeck1432 djeck1432 self-requested a review November 23, 2024 09:52
Copy link
Owner

@djeck1432 djeck1432 left a comment

Choose a reason for hiding this comment

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

  1. Fix pylint
  2. Did you run these tests? attach screenshot of it


class TestCreateVault(unittest.TestCase):
def setUp(self):
self.connector = DepositDBConnector()
Copy link
Owner

Choose a reason for hiding this comment

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

Please, use mock from confest.py file

@djeck1432 djeck1432 marked this pull request as ready for review November 23, 2024 11:02
Copy link
Owner

@djeck1432 djeck1432 left a comment

Choose a reason for hiding this comment

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

Fix pylint issues

Copy link
Owner

@djeck1432 djeck1432 left a comment

Choose a reason for hiding this comment

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

First part is good, I can't see second part of negative scenarios which was described in issue
please, sync also with main

@djeck1432
Copy link
Owner

@olisaagbafor I can't see second part of negative scenarios which was described in issue
please, sync also with main

Copy link
Owner

@djeck1432 djeck1432 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

@djeck1432 djeck1432 merged commit 0777b56 into djeck1432:main Nov 24, 2024
3 checks passed
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.

[BACKEND] Create test cases for DepositDBConnector
2 participants