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

Method test_name_from_init

tests/operators/test_operator.py:54–57  ·  view source on GitHub ↗

Test name set from initialization.

(self)

Source from the content-addressed store, hash-verified

52 """Tests for Operator name property."""
53
54 def test_name_from_init(self):
55 """Test name set from initialization."""
56 op = ConcreteOperator(name="MyOperator")
57 assert op.name == "MyOperator"
58
59 def test_name_default(self):
60 """Test default name is class name."""

Callers

nothing calls this directly

Calls 1

ConcreteOperatorClass · 0.85

Tested by

no test coverage detected