def test_revision_diff_ignore_bucket_with_all_unrelated_documents(self):
        payload = base.DocumentFixture.get_minimal_multi_fixture(count=3)
        alt_payload = copy.deepcopy(payload)
        bucket_name = test_utils.rand_name('bucket')
        alt_bucket_name = test_utils.rand_name('bucket')

        # Create a bucket with 3 documents.
        documents = self.create_documents(bucket_name, payload)
        revision_id = documents[0]['revision_id']

        # Modify all 3 documents from first bucket.
        for idx in range(3):
            alt_payload[idx]['name'] = test_utils.rand_name('name')
            alt_payload[idx]['schema'] = test_utils.rand_name('schema')
        self.create_documents(
            alt_bucket_name, alt_payload)

        # Modify the document from the 1st bucket.
        payload[0]['data'] = {'modified': 'modified'}
        documents = self.create_documents(bucket_name, payload)
        comparison_revision_id = documents[0]['revision_id']

        # The alt_bucket_name should be created.
        self._verify_buckets_status(
            revision_id, comparison_revision_id,
            {bucket_name: 'modified', alt_bucket_name: 'created'})