def test_change_comb_rule(self): top = Topology() assert top.combining_rule == 'lorentz' top.combining_rule = 'geometric' assert top.combining_rule == 'geometric' with pytest.raises(GMSOError): top.combining_rule = 'kong'
def test_change_comb_rule(self): top = Topology() assert top.combining_rule == "lorentz" top.combining_rule = "geometric" assert top.combining_rule == "geometric" with pytest.raises(GMSOError): top.combining_rule = "kong"