def test_single_cluster(self):
    id1 = Identity.create_random_identity()
    acc1 = Address.create_from_identity(id1, full_shard_key=0)
    with ClusterContext(1, acc1) as clusters:
        self.assertEqual(len(clusters), 1)
def test_single_cluster(self):
    id1 = Identity.create_random_identity()
    acc1 = Address.create_from_identity(id1, full_shard_key=0)
    with ClusterContext(1, acc1) as clusters:
        self.assertEqual(len(clusters), 1)