Skip to content

Commit 98d01ba

Browse files
committed
Bump to 2.0.4
1 parent 9b96bf1 commit 98d01ba

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

minio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
__title__ = 'minio-py'
3030
__author__ = 'Minio, Inc.'
31-
__version__ = '2.0.3'
31+
__version__ = '2.0.4'
3232
__license__ = 'Apache 2.0'
3333
__copyright__ = 'Copyright 2015, 2016 Minio, Inc.'
3434

tests/unit/minio_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
1516
import platform
1617
from unittest import TestCase
1718

@@ -87,14 +88,14 @@ def test_default_user_agent(self):
8788

8889
def test_set_app_info(self):
8990
client = Minio('localhost')
90-
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/2.0.3'
91-
client.set_app_info('hello', '2.0.3')
91+
expected_user_agent = _DEFAULT_USER_AGENT + ' hello/2.0.4'
92+
client.set_app_info('hello', '2.0.4')
9293
eq_(client._user_agent, expected_user_agent)
9394

9495
@raises(ValueError)
9596
def test_set_app_info_requires_non_empty_name(self):
9697
client = Minio('localhost:9000')
97-
client.set_app_info('', '2.0.3')
98+
client.set_app_info('', '2.0.4')
9899

99100
@raises(ValueError)
100101
def test_set_app_info_requires_non_empty_version(self):

0 commit comments

Comments
 (0)