Skip to content

Unit test for api_async_client #1665

@mappjzc

Description

@mappjzc

Describe the bug

sub unit test for api_collector: https://github.com/merico-dev/lake/issues/1656

Describe the solution you'd like

Build an unit-test for api_async_client to cover all possible routes with mocking github.com/stretchr/testify/mock techinque.
IMPORTANT: should not be any actual database operation / api request get performed when running test-cases.

Has the Feature been Requested Before?

No

Metadata

Metadata

Assignees

Labels

type/testThis issue is to test plugins or features

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions