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

added mocked tests for databases - part 3 #217

Merged
5 changes: 2 additions & 3 deletions tests/mocked/test_databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ def test_databases_promote_replica(mock_client: Client, mock_client_url):


@responses.activate
<<<<<<< HEAD
def test_databases_get_user(mock_client: Client, mock_client_url):
"""Mocks the databases get user method."""

Expand Down Expand Up @@ -712,7 +711,8 @@ def test_databases_list_users(mock_client: Client, mock_client_url):
resp = mock_client.databases.list_users(cluster_uuid)

assert expected == resp
=======


def test_databases_delete(mock_client: Client, mock_client_url):
work-mohit marked this conversation as resolved.
Show resolved Hide resolved
"""Mocks the databases delete operation."""

Expand Down Expand Up @@ -804,4 +804,3 @@ def test_databases_destroy_replica(mock_client: Client, mock_client_url):
resp = mock_client.databases.destroy_replica(cluster_uuid, replica_name)

assert resp is None
>>>>>>> e83536b8fadeafc89659d7c9da3f6fb0cf4e0a04
Loading