def test_passes_on_bothagg(self): static_assert.assert_contains_unsecure_aggregation( secure_and_unsecure_aggregation)
def test_fails_on_secagg(self): with self.assertRaises(AssertionError): static_assert.assert_contains_unsecure_aggregation( secure_aggregation)