Skip to content

Commit

Permalink
Tests quick fix: tests/ops/models/test_connectionconfig.py (#5672)
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-torres-marroquin authored Jan 15, 2025
1 parent 72cd9b3 commit b3cb8d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ops/models/test_connectionconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@ def test_connection_type_human_readable(self):
connection.human_readable # Makes sure all ConnectionTypes have been added to human_readable mapping

def test_connection_type_human_readable_invalid(self):
with pytest.raises(NotImplementedError):
with pytest.raises(ValueError):
ConnectionType("nonmapped_type").human_readable

def test_connection_type_system_type(self):
for connection in ConnectionType:
connection.system_type # Makes sure all ConnectionTypes have been added to system_type mapping

def test_connection_type_system_type_invalid(self):
with pytest.raises(NotImplementedError):
with pytest.raises(ValueError):
ConnectionType("nonmapped_type").system_type

def test_system_key(self, db, connection_config, system):
Expand Down

0 comments on commit b3cb8d0

Please sign in to comment.