Merge "Fix one minor typo"
authorJose Lausuch <jose.lausuch@ericsson.com>
Tue, 16 May 2017 16:05:16 +0000 (16:05 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 16 May 2017 16:05:16 +0000 (16:05 +0000)
1  2 
functest/tests/unit/core/test_testcase.py

@@@ -7,7 -7,7 +7,7 @@@
  # which accompanies this distribution, and is available at
  # http://www.apache.org/licenses/LICENSE-2.0
  
- """Define the classe required to fully cover testcase."""
+ """Define the class required to fully cover testcase."""
  
  import logging
  import unittest
@@@ -20,6 -20,7 +20,6 @@@ __author__ = "Cedric Ollivier <cedric.o
  
  
  class TestCaseTesting(unittest.TestCase):
 -
      """The class testing TestCase."""
      # pylint: disable=missing-docstring,too-many-public-methods
  
  
      def test_str_project_name_ko(self):
          self.test.project_name = None
 -        self.assertIn("INVALID OBJECT", str(self.test))
 +        self.assertIn("<functest.core.testcase.TestCase object at",
 +                      str(self.test))
  
      def test_str_case_name_ko(self):
          self.test.case_name = None
 -        self.assertIn("INVALID OBJECT", str(self.test))
 +        self.assertIn("<functest.core.testcase.TestCase object at",
 +                      str(self.test))
  
      def test_str_pass(self):
          duration = '01:01'