def test_application_functions(self):
        self.q = Queue.Queue()

        def cb(key, value):
            self.q.put({"key": key, "value": value})

        application = appmanager.Application(calvinuuid.uuid(
            'APP'), "test_app", [calvinuuid.uuid('ACTOR'), calvinuuid.uuid('ACTOR')])

        self.storage.add_application(application)
        value = self.storage.get_application(
            application.id, cb=CalvinCB(func=cb))
        value = self.q.get(timeout=0.2)
        assert value["key"] == application.id and value[
            "value"]["name"] == application.name

        self.storage.delete_application(application.id, cb=CalvinCB(func=cb))
        value = self.q.get(timeout=0.2)
        assert value
        assert self.storage.localstore not in application.id
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/tests/test_storage.py/TestStorageNotStarted.test_application_functions/swapped operands of `not in`