def test_bucket_versioning(self):
    self.s3_client.create_bucket(Bucket=TEST_BUCKET_WITH_VERSIONING)
    self.s3_client.put_bucket_versioning(Bucket=TEST_BUCKET_WITH_VERSIONING, VersioningConfiguration={'Status': 'Enabled'})
    result = self.s3_client.get_bucket_versioning(Bucket=TEST_BUCKET_WITH_VERSIONING)
    self.assertEqual(result['Status'], 'Enabled')
def test_bucket_versioning(self):
    self.s3_client.create_bucket(Bucket=TEST_BUCKET_WITH_VERSIONING)
    self.s3_client.put_bucket_versioning(Bucket=TEST_BUCKET_WITH_VERSIONING, VersioningConfiguration={'Status': 'Enabled'})
    result = self.s3_client.get_bucket_versioning(Bucket=TEST_BUCKET_WITH_VERSIONING)
    self.assertEqual(result['Status'], 'Enabled')