Add warning for experimental node access API #175
Annotations
1 error and 1 warning
/home/runner/work/oemof-network/oemof-network/tests/test_energy_system.py#L56
def test_node_access_warning(self):
node_label = "label"
self.es.add(Node(node_label))
with pytest.warns(
- match='API to access nodes by label is experimental'
+ match="API to access nodes by label is experimental"
):
_ = es.node[node_label]
def test_add_flow_assignment(self):
assert not self.es.nodes
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v1, samuelmeuli/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|