def create_container(self, container_name):
        """
        >>> driver = DummyStorageDriver('key', 'secret')
        >>> container = driver.create_container(container_name='test container 1')
        >>> container
        <Container: name=test container 1, provider=Dummy Storage Provider>
        >>> container = driver.create_container(container_name='test container 1') #doctest: +IGNORE_EXCEPTION_DETAIL
        Traceback (most recent call last):
        ContainerAlreadyExistsError:
        """

        if self._containers in container_name:
            raise ContainerAlreadyExistsError(container_name=container_name,
                                              value=None, driver=self)

        extra = { 'object_count': 0 }
        container = Container(name=container_name, extra=extra, driver=self)

        self._containers[container_name] = { 'container': container,
                                             'objects': {}
                                           }
        return container
dataset/ETHPy150Open cloudkick/libcloud/libcloud/storage/drivers/dummy.py/DummyStorageDriver.create_container/swapped operands of `in`