Closed
Description
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 542737d
buildURL: Build Status, Sponge
status: failed
Test output
self =def test_from_pb_non_empty(self): from google.iam.v1 import policy_pb2 from google.cloud.bigtable.policy import BIGTABLE_ADMIN_ROLE ETAG = b"ETAG" VERSION = 1 members = ["serviceAccount:[email protected]", "user:[email protected]"] empty = frozenset() message = policy_pb2.Policy( etag=ETAG, version=VERSION, bindings=[{"role": BIGTABLE_ADMIN_ROLE, "members": members}], ) klass = self._get_target_class() policy = klass.from_pb(message) self.assertEqual(policy.etag, ETAG) self.assertEqual(policy.version, VERSION) self.assertEqual(policy.bigtable_admins, set(members)) self.assertEqual(policy.bigtable_readers, empty) self.assertEqual(policy.bigtable_users, empty) self.assertEqual(policy.bigtable_viewers, empty)
self.assertEqual(len(policy), 1)
E AssertionError: 4 != 1
tests/unit/test_policy.py:127: AssertionError
Metadata
Metadata
Assignees
Labels
Issues related to the googleapis/python-bigtable API.Tells the Flaky Bot not to close or comment on this issue.An issue filed by the Flaky Bot. Should not be added manually.Moderately-important priority. Fix may not be included in next release.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.