tests: rename a couple of test classes
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 15:54:59 +0000 (17:54 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 16:30:56 +0000 (18:30 +0200)
This is a cosmetic change.

Most of the tests were started by copying the 'test_api_base', and the main
class was not re-named from 'TestCreateCopy' to something else. Let's do this
now.

Change-Id: Iba87c5094cbb8d217682e5c89df1f2441d2b70bc
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
tests/test_compat.py
tests/test_filemap.py

index 3ceb2255a815003f003403de598bcc2eb1027151..a1d0051e77cb164e2257152ee0c433e641be5e57 100644 (file)
@@ -45,7 +45,7 @@ try:
 except ImportError:
     import unittest
 
-class TestCreateCopy(unittest.TestCase):
+class TestCompat(unittest.TestCase):
     """The test class for this unit test."""
 
     def test(self):
index 48fc70a206fa98e893e165d41b92375df0893d32..581eb23e28f0de3df1e22807f333c5dd0c923387 100644 (file)
@@ -124,7 +124,7 @@ def _do_test(f_image, filemap, mapped, unmapped):
         _check_ranges(f_image, filemap, first_block, blocks_cnt, unmapped,
                       "unmapped")
 
-class TestCreateCopy(unittest.TestCase):
+class TestFilemap(unittest.TestCase):
     """
     The test class for this unit tests. Basically executes the '_do_test()'
     function for different sparse files.