From 76097ed108f7ac2ff8ecd69f3174bb086e0fe939 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 28 Feb 2018 11:51:16 +0100 Subject: Publish Dockerfile and samples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie776fea631f04bb42d8ae80bc658318d8644d0e5 Signed-off-by: Cédric Ollivier --- xtesting/samples/fourth.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 xtesting/samples/fourth.py (limited to 'xtesting/samples/fourth.py') diff --git a/xtesting/samples/fourth.py b/xtesting/samples/fourth.py new file mode 100644 index 00000000..be104fda --- /dev/null +++ b/xtesting/samples/fourth.py @@ -0,0 +1,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') -- cgit 1.2.3-korg