Skip to content

Commit

Permalink
Fix test_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 15, 2024
1 parent 4e09c81 commit 9ae7ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
#

from hsml.connection import (
CONNECTION_SAAS_HOSTNAME,
HOPSWORKS_PORT_DEFAULT,
HOSTNAME_VERIFICATION_DEFAULT,
Connection,
)
from hsml.constants import CONNECTION
from hsml.core import model_api, model_registry_api, model_serving_api


Expand All @@ -30,7 +30,7 @@ def test_constants(self):
# The purpose of this test is to ensure that (1) we don't make undesired changes to contant values
# that might break things somewhere else, and (2) we remember to update the pytests accordingly by
# adding / removing / updating tests, if necessary.
assert CONNECTION_SAAS_HOSTNAME == "c.app.hopsworks.ai"
assert CONNECTION.SAAS_HOSTNAME == "c.app.hopsworks.ai"
assert HOPSWORKS_PORT_DEFAULT == 443
assert HOSTNAME_VERIFICATION_DEFAULT

Expand Down

0 comments on commit 9ae7ee6

Please sign in to comment.