blob: be104fda6b66ca590a180501d32c0e38488d9231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python
# Copyright (c) 2016 Orange and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
# pylint: disable=missing-docstring
import unittest
class TestStringMethods(unittest.TestCase):
def test_upper(self):
self.assertEqual('Hello World'.upper(),
'HELLO WORLD')
|