diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2006-10-16 11:45:53 -0400 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-16 11:45:53 -0400 |
commit | a393fe10280cf8202cb3acfc1b8df606158d7966 (patch) | |
tree | 627b31c76b4dd5ac1f1e995a6c3b43e610d92479 /tests | |
parent | 371b17f08988754ea2bb30d45074207171864e84 (diff) | |
download | third_party-cobbler-a393fe10280cf8202cb3acfc1b8df606158d7966.tar.gz third_party-cobbler-a393fe10280cf8202cb3acfc1b8df606158d7966.tar.xz third_party-cobbler-a393fe10280cf8202cb3acfc1b8df606158d7966.zip |
Trailing whitespace.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tests.py b/tests/tests.py index 8acc1a7..4911303 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -312,7 +312,7 @@ class TestImport(BootTest): "import_testdata_RHEL-4_U4_AS_x86_64_tree_images_pxeboot" : [0, 1, "x86_64" ], "import_testdata_core_5_i386_os_images_pxeboot" : [ 0, 1, "x86" ], "import_testdata_core_5_i386_os_images_xen" : [0, 1, "x86" ], - } + } # first go through all found distros and count the matches for distro in self.api.distros(): @@ -326,12 +326,12 @@ class TestImport(BootTest): got_it = True if not got_it: # hasn't :) self.fail("imported foreign distro: %s" % distro.name) - + # now check the required number of matches vs actual. # this checks to ensure unsupported arches aren't imported and there # are no duplicate imports for match in haystacks.keys(): - found = haystacks[match] + found = haystacks[match] self.failUnlessEqual(found[0], found[1], "mismatched counts: %d vs %d for %s" % (found[0], found[1], match)) if __name__ == "__main__": |