Moved partition.py to base_partition.py and created a partition.py
that imports all symbols of base_partition.py and those of
site_partition.py if such a file exists (it actually uses execfile() on
these files so the names are created in partition.py and it's
possible to properly unittest and stub them). Modified
partition_unittest.py to test base_partition.py and also partition.py
(ie after it applies overriding, to make sure that the overrides do
not break functionality of the non site specific code).
Signed-off-by: Mihai Rusu <dizzy@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3153 592f7852-d20e-0410-864c-8624ca9c26a4
3 files changed