summaryrefslogtreecommitdiffstats
path: root/install/ui/ipabanner.png
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-07-22 09:06:13 -0400
committerRob Crittenden <rcritten@redhat.com>2011-07-24 19:58:03 -0400
commit3fe36a63b6747ef1d961e1ffd287177d7341f1f9 (patch)
treec21f43b06175f516ba85f2009dcd8c939fd93f0a /install/ui/ipabanner.png
parent1897f12bc22a5e211710149fa1ff6d417a0e7bcc (diff)
downloadfreeipa-3fe36a63b6747ef1d961e1ffd287177d7341f1f9.tar.gz
freeipa-3fe36a63b6747ef1d961e1ffd287177d7341f1f9.tar.xz
freeipa-3fe36a63b6747ef1d961e1ffd287177d7341f1f9.zip
Add an arch-specific Requires on cyrus-sasl-gssapi
If you had a 64-bit system and installed a 32-bit version of IPA then ipa-getkeytab probably wouldn't work because yum wouldn't know to pull in the 32-bit version of cyrus-sasl-gssapi. https://fedorahosted.org/freeipa/ticket/1499
Diffstat (limited to 'install/ui/ipabanner.png')
0 files changed, 0 insertions, 0 deletions
limitations # under the License. """ Unittets for S3 objectstore clone. """ import boto import os import shutil import tempfile from boto import exception as boto_exception from boto.s3 import connection as s3 from nova import flags from nova.objectstore import s3server from nova import test from nova import wsgi FLAGS = flags.FLAGS # Create a unique temporary directory. We don't delete after test to # allow checking the contents after running tests. Users and/or tools # running the tests need to remove the tests directories. OSS_TEMPDIR = tempfile.mkdtemp(prefix='test_oss-') # Create bucket/images path os.makedirs(os.path.join(OSS_TEMPDIR, 'images')) os.makedirs(os.path.join(OSS_TEMPDIR, 'buckets')) class S3APITestCase(test.TestCase): """Test objectstore through S3 API.""" def setUp(self): """Setup users, projects, and start a test server.""" super(S3APITestCase, self).setUp() self.flags(buckets_path=os.path.join(OSS_TEMPDIR, 'buckets'), s3_host='127.0.0.1') shutil.rmtree(FLAGS.buckets_path) os.mkdir(FLAGS.buckets_path) router = s3server.S3Application(FLAGS.buckets_path) self.server = wsgi.Server("S3 Objectstore", router, host=FLAGS.s3_host, port=FLAGS.s3_port) self.server.start() if not boto.config.has_section('Boto'): boto.config.add_section('Boto') boto.config.set('Boto', 'num_retries', '0') conn = s3.S3Connection(aws_access_key_id='fake', aws_secret_access_key='fake', host=FLAGS.s3_host, port=FLAGS.s3_port, is_secure=False, calling_format=s3.OrdinaryCallingFormat()) self.conn = conn def get_http_connection(host, is_secure): """Get a new S3 connection, don't attempt to reuse connections.""" return self.conn.new_http_connection(host, is_secure) self.conn.get_http_connection = get_http_connection def _ensure_no_buckets(self, buckets): # pylint: disable=C0111 self.assertEquals(len(buckets), 0, "Bucket list was not empty") return True def _ensure_one_bucket(self, buckets, name): # pylint: disable=C0111 self.assertEquals(len(buckets), 1, "Bucket list didn't have exactly one element in it") self.assertEquals(buckets[0].name, name, "Wrong name") return True def test_list_buckets(self): """Make sure we are starting with no buckets.""" self._ensure_no_buckets(self.conn.get_all_buckets()) def test_create_and_delete_bucket(self): """Test bucket creation and deletion.""" bucket_name = 'testbucket' self.conn.create_bucket(bucket_name)