[rhel6-branch][pykickstart][PATCH 0/2] Raise an error if autopart is combined with partitioning commands V3
Martin Kolman
mkolman at redhat.com
Fri Aug 9 13:40:23 UTC 2013
Changes from V2:
* correct return values are now returned for the overridden parse commands
* tests have been added for checking if incorrect command sequences are correctly detected
- as the CommandTest class seems to be able to only handle single line kickstarts for the
command handler corresponding to its test-case, I've added a new class that can work
with arbitrary multi-line command sequences
Martin Kolman (2):
Raise an error if autopart is combined with partitioning commands
(#886010)
Add tests for incorrect command usage detection
pykickstart/commands/autopart.py | 30 +++++++++++
pykickstart/commands/logvol.py | 10 ++++
pykickstart/commands/partition.py | 9 ++++
pykickstart/commands/raid.py | 10 ++++
pykickstart/commands/volgroup.py | 13 +++++
pykickstart/handlers/control.py | 2 +-
tests/command_usage.py | 103 ++++++++++++++++++++++++++++++++++++++
7 files changed, 176 insertions(+), 1 deletion(-)
create mode 100644 tests/command_usage.py
--
1.8.3.1
More information about the anaconda-patches
mailing list