def METHOD_NAME(self):
    """Test: Create inventory, background & no import."""
    def test(client):
        """API test callback."""
        progress = None
        inventory_index = None
        for progress in client.inventory.create(background=True,
                                                import_as=''):
            continue
        while True:
            # Give background running time to complete.
            time.sleep(5)
            if [x for x in client.inventory.list()]:
                break
        self.assertGreater(len([x for x in client.inventory.list()]),
                           0,
                           'Assert list not empty')
        for inventory_index in client.inventory.list():
            self.assertTrue(inventory_index.id == progress.id)
        self.assertEqual(inventory_index.id,
                         (client.inventory.get(inventory_index.id)
                          .inventory.id))
        self.assertEqual(inventory_index.id,
                         (client.inventory.delete(inventory_index.id)
                          .inventory.id))
        self.assertEqual([], [i for i in client.inventory.list()])
    with gcp_api_mocks.mock_gcp():
        setup = create_tester()
        setup.run(test)