docstr: edges added with other origin should throw an error
docstr_tok: ["edges","added","with","other","origin","should","throw","an","error"]
code: def test_add_edges_from_other(self):
      """edges added with other origin should throw an error"""
  
      sm = StructureModel()
  
      with pytest.raises(
          ValueError, match="^Unknown origin: must be one of.*$"
      ):
          sm.add_edges_from([(1, 2)], "other")
  
imports: import pytest
  from networkx.exception import NodeNotFound
  from causalnex.structure import StructureModel
label_desc: Use image node_id 5 for calling the TestStructureModelAddEdgesFrom obj's underlying member method code with example usage: obj.test_add_edges_from_other() without return types