'Set up for testing swift.object_server.ObjectController'

def setUp(self):

    self.testdir = os.path.join(mkdtemp(), 'tmp_test_object_server_ObjectController')
    mkdirs(self.testdir)
    rmtree(self.testdir)
    mkdirs(os.path.join(self.testdir, 'sda1'))
    mkdirs(os.path.join(self.testdir, 'sda1', 'tmp'))
    self.controller = container_server.ContainerController({'devices': self.testdir, 'mount_check': 'false'})
    self.assertTrue((len(POLICIES) > 1))
