def testLibraryCrd(self):
        if not self.authenticated:
            return
        entry = self.service.get_by_google_id("b7GZr5Btp30C")
        entry = self.service.add_item_to_library(entry)
        lib = list(self.service.get_library())
        self.assert_(entry.to_dict()['title'] in 
            [x.to_dict()['title'] for x in lib])
        self.service.remove_item_from_library(entry)
        lib = list(self.service.get_library())
        self.assert_(entry.to_dict()['title'] not in 
            [x.to_dict()['title'] for x in lib])
Raise an exception if the container does not exist
dataset/ETHPy150Open kuri65536/python-for-android/python-build/python-libs/gdata/tests/gdata_tests/books/service_test.py/BookCRUDTests.testLibraryCrd--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/_ensure_running