MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_init_with_name

Method test_init_with_name

tests/operators/test_operator.py:35–38  ·  view source on GitHub ↗

Test initialization with custom name.

(self)

Source from the content-addressed store, hash-verified

33 assert op is not None
34
35 def test_init_with_name(self):
36 """Test initialization with custom name."""
37 op = ConcreteOperator(name="CustomOperator")
38 assert op.name == "CustomOperator"
39
40 def test_init_with_logger(self, mock_logger):
41 """Test initialization with logger."""

Callers

nothing calls this directly

Calls 1

ConcreteOperatorClass · 0.85

Tested by

no test coverage detected