File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 28
28
29
29
__title__ = 'minio-py'
30
30
__author__ = 'Minio, Inc.'
31
- __version__ = '2.0.3 '
31
+ __version__ = '2.0.4 '
32
32
__license__ = 'Apache 2.0'
33
33
__copyright__ = 'Copyright 2015, 2016 Minio, Inc.'
34
34
Original file line number Diff line number Diff line change 12
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
+
15
16
import platform
16
17
from unittest import TestCase
17
18
@@ -87,14 +88,14 @@ def test_default_user_agent(self):
87
88
88
89
def test_set_app_info (self ):
89
90
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 ' )
92
93
eq_ (client ._user_agent , expected_user_agent )
93
94
94
95
@raises (ValueError )
95
96
def test_set_app_info_requires_non_empty_name (self ):
96
97
client = Minio ('localhost:9000' )
97
- client .set_app_info ('' , '2.0.3 ' )
98
+ client .set_app_info ('' , '2.0.4 ' )
98
99
99
100
@raises (ValueError )
100
101
def test_set_app_info_requires_non_empty_version (self ):
You can’t perform that action at this time.
0 commit comments