diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-04-18 17:45:24 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-04-18 17:45:24 -0400 |
commit | bb84177f0e5b3de18afc12378ec18d089170a10e (patch) | |
tree | 7992696e1fb60c4857309524aaba2eaac36df627 /tests/tests.py | |
parent | efbcc041464733e90af670a5d1dfe13e70aaa05c (diff) | |
download | third_party-cobbler-bb84177f0e5b3de18afc12378ec18d089170a10e.tar.gz third_party-cobbler-bb84177f0e5b3de18afc12378ec18d089170a10e.tar.xz third_party-cobbler-bb84177f0e5b3de18afc12378ec18d089170a10e.zip |
Fix some things found by the tests and also update the tests
to not look for static files
Diffstat (limited to 'tests/tests.py')
-rw-r--r-- | tests/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests.py b/tests/tests.py index 8536a70..bb64dd1 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -743,7 +743,7 @@ class SyncContents(BootTest): fh = open("/tftpboot/pxelinux.cfg/%s" % converted) data = fh.read() - self.assertTrue(data.find("kickstarts_sys") != -1) + self.assertTrue(data.find("op=ks") != -1) fh.close() # ensure that after sync is applied, the blender cache still allows @@ -753,7 +753,7 @@ class SyncContents(BootTest): self.api.sync() fh = open("/tftpboot/pxelinux.cfg/%s" % converted) data = fh.read() - self.assertTrue(data.find("kickstarts_sys") != -1) + self.assertTrue(data.find("op=ks") != -1) fh.close() |