| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
pylint 0.20.1 merges --enable-* and --disable-* options into --enable
and --disable only.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
This is required so the source layout and package layout have a similar enough
structure to make our test setup work. Without this move, you can't run
"make check" or checkbot without getting error messages about no such module
pyanaconda.booty.
|
| |
|
|
| |
Now, "make check" will run the regex tests as well as everything else.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
I do a lot of live image making, which results in those loopback devices
sometimes not being available. Luckily, losetup will tell us the name of
the next free device.
Also fix up some imports so they're in the right place, while I'm digging
around in these files.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
(1) Many tests have moved from foo.py to foo_test.py, so that needs changing
in the TESTS variable.
(2) Add a $PATH that includes /sbin and /usr/sbin so losetup and storage
commands work.
(3) Change PYTHONPATH to include new pyanaconda directory.
|
| |
|
|
|
|
|
| |
Check for proper operation of the proxy regex. The regex neeeds to be
copied over from yuminstall.py if it changes.
Related: rhbz#602712
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|
| | |
|
| |
|
|
| |
When import fails on file level, it breaks the whole unit test framework. When it breaks in the test, only the single test fails, so I'm moving this to be imported at test level.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This patch introduces a runpylint.sh script which invokes pylint in such
a way that it is usable with anaconda. Amongst other things it filters
out any false positives listed (regex) in the pylint-false-positives file.
If any problems where found the scripts prints them to stdout and
saves them in pylint-log. In this case it will also have a non 0
exit status (for future make archive integration).
|
| | |
|
| |
|
|
|
|
|
| |
The aim of this is to prevent bugs like 581829, where a later version of a
command is added in pykickstart but anaconda is never updated to use the
right version. Of course, this shifts the burden from updating kickstart.py
to running the test case. But it's better than nothing.
|
| |
|
|
|
| |
We need to find out about multipath topology from /sbin/multipath, which
unfortunately needs some parsing - it's fairly easy, though.
|
| | |
|
| |
|
|
|
|
| |
Some small changes to test cases were needed.
Added suite() function to them and changed the class names.
Also __init__.py files were added to the directories.
|
| |
|
|
|
|
|
|
|
|
| |
Rewrote the devicelibs unittest baseclass so we can create and remove another loop devices within the tests.
Rewrote the isRaidXY(raidlevel) functions in mdraid.py into one function isRaid(XY, raidlevel).
Rewrote the get_raid_min_members and get_raid_max_spares functions
to use the new isRaid function, and not use many if-elif-else statements.
Changed the minimum raid members for raid10 to 2.
|
| |
|
|
|
| |
baseclass.py needed some imports to work properly.
Updated the test for getMaxLVSize() in lvm.py to not pass PE size as argument.
|
|
|
lvm.py and swap.py
|