def test_not_internally_consistent_with_context(self, make_statement): context = ContextRegister() context.insert_pair(Entity(name="Alice"), Entity(name="Alice")) context.insert_pair(Entity(name="Bob"), Entity(name="Bob")) group = FactorGroup( [make_statement["shooting"], make_statement["no_shooting"]]) with pytest.raises(ValueError): group.internally_consistent()
def test_not_internally_consistent(self, make_statement): group = FactorGroup( [make_statement["shooting"], make_statement["no_shooting"]]) with pytest.raises(ValueError): group.internally_consistent()