Skip to content

Commit

Permalink
Fix a pylint problem in parse-kickstart_test.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
clumens committed May 18, 2015
1 parent bb485a2 commit a79aad1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/dracut_tests/parse-kickstart_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def driverdisk_test(self):
with tempfile.NamedTemporaryFile() as ks_file:
ks_file.write("""driverdisk sda5""")
ks_file.flush()
lines = self.execParseKickstart(ks_file.name)
# This call to execParseKickstart doesn't need to be checked,
# because we are using it for its side effect of writing out
# dd_args_ks.
self.execParseKickstart(ks_file.name)

dd_args_ks = open(self.tmpdir+"/dd_args_ks").readlines()
self.assertEqual(dd_args_ks[0], "sda5", dd_args_ks)
Expand Down

0 comments on commit a79aad1

Please sign in to comment.