|
|
|
@ -100,14 +100,6 @@ def test_set_interaction_rules(collaboration):
|
|
|
|
|
assert hasattr(collaboration, "interaction_rules")
|
|
|
|
|
assert collaboration.interaction_rules == rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_set_interaction_rules(collaboration):
|
|
|
|
|
rules = {"rule1": "action1", "rule2": "action2"}
|
|
|
|
|
collaboration.set_interaction_rules(rules)
|
|
|
|
|
assert hasattr(collaboration, "interaction_rules")
|
|
|
|
|
assert collaboration.interaction_rules == rules
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def test_repr(collaboration):
|
|
|
|
|
repr_str = repr(collaboration)
|
|
|
|
|
assert isinstance(repr_str, str)
|
|
|
|
|