Skip to content

Commit

Permalink
Bump to new release 2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
minio-trusted committed Jan 5, 2017
1 parent 40fef05 commit 71666b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions minio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
>>> for bucket in minio.list_buckets():
... print(bucket.name)
:copyright: (c) 2015, 2016 by Minio, Inc.
:copyright: (c) 2015, 2016, 2017 by Minio, Inc.
:license: Apache 2.0, see LICENSE for more details.
"""

__title__ = 'minio-py'
__author__ = 'Minio, Inc.'
__version__ = '2.0.5'
__version__ = '2.0.6'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2015, 2016 Minio, Inc.'
__copyright__ = 'Copyright 2015, 2016, 2017 Minio, Inc.'

from .api import Minio
from .error import ResponseError
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/minio_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Minio Python Library for Amazon S3 Compatible Cloud Storage,
# (C) 2015, 2016 Minio, Inc.
# (C) 2015, 2016, 2017 Minio, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -88,14 +88,14 @@ def test_default_user_agent(self):

def test_set_app_info(self):
client = Minio('localhost')
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/2.0.5'
client.set_app_info('hello', '2.0.5')
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/2.0.6'
client.set_app_info('hello', '2.0.6')
eq_(client._user_agent, expected_user_agent)

@raises(ValueError)
def test_set_app_info_requires_non_empty_name(self):
client = Minio('localhost:9000')
client.set_app_info('', '2.0.5')
client.set_app_info('', '2.0.6')

@raises(ValueError)
def test_set_app_info_requires_non_empty_version(self):
Expand Down

0 comments on commit 71666b7

Please sign in to comment.