File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66from models .config import ModelContextProtocolServer
77
88
9- @pytest .fixture
10- def configuration_filename () -> str :
9+ @pytest .fixture ( name = "configuration_filename" )
10+ def configuration_filename_fixture () -> str :
1111 """Retrieve configuration file name to be used by integration tests."""
1212 return "tests/configuration/lightspeed-stack.yaml"
1313
@@ -17,7 +17,7 @@ def test_default_configuration() -> None:
1717 cfg = configuration
1818 assert cfg is not None
1919 with pytest .raises (Exception , match = "logic error: configuration is not loaded" ):
20- configuration .configuration
20+ configuration .configuration # pylint: disable=pointless-statement
2121
2222
2323def test_loading_proper_configuration (configuration_filename : str ) -> None :
@@ -60,7 +60,7 @@ def test_loading_proper_configuration(configuration_filename: str) -> None:
6060
6161 # check MCP servers section
6262 mcp_servers = cfg .mcp_servers
63- assert mcp_servers != []
63+ assert mcp_servers != [] # pylint: disable=use-implicit-booleaness-not-comparison
6464 assert len (mcp_servers ) == 3
6565 assert mcp_servers [0 ] == ModelContextProtocolServer (
6666 name = "server1" , provider_id = "provider1" , url = "http://url.com:1"
You can’t perform that action at this time.
0 commit comments