Skip to content

Write a test for function create() of BankViewSet class to verify a bank detail using node identifier #103

@pgeorge2

Description

@pgeorge2

Create a test called test_bank_detail by taking reference of test_bank_patch method.

Write the test at following location.
https://github.com/thenewboston-developers/Validator/blob/master/v1/banks/tests/bank.py

Hint: as mentioned, to create a test, you can take reference of test_banks_patch method and pass the dummy data in generate_signed_request method with expected status code as 200 and verify the response by comparing response and bank_fake_data

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions