Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/v2_tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ def test_non_cloud_endpoint_client_is_not_marqo_cloud(self):

@mark.fixed
class TestClientMethods(MarqoTestCase):
def setUp(self) -> None:
self.initial_marqo_cloud_url = os.environ.get("MARQO_CLOUD_URL", constants.CLOUD_AWS_API_ENDPOINT)

def tearDown(self) -> None:
os.environ["MARQO_CLOUD_URL"] = constants.CLOUD_AWS_API_ENDPOINT
os.environ["MARQO_CLOUD_URL"] = self.initial_marqo_cloud_url

def test_is_cloud_api_endpoint(self):
# Custom Marqo Cloud URL
os.environ["MARQO_CLOUD_URL"] = "https://arandomsite.ai"
Expand Down
Loading