Re: anaconda unit testing and coding standard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,Vratislav Podzimek,thank your reply,it is helpful to me!

Thanks a lot again!

lei xia

On 今日 18:05, Vratislav Podzimek <vpodzime@xxxxxxxxxx> 写到:
> On Mon, 2013-11-18 at 15:46 +0800, 夏磊 wrote:
>> Hi, all
>>
>> I am a newer to anaconda, and I have some problems, Could someone help
>> me? thanks a lot!
>>
>> first : Is there a unit test for anaconda? If there is a unit test for
>> anaconda, what is unit test tool or framework?
> We do have some unittests. You can run '$ tests/nosetests.sh' in the
> anaconda git repository to run all of them. However, you have to have
> all the dependencies installed (you may do that by 'make
> install-buildrequires' and 'make install-requires').
>
>>
>> second : Is there a coding standard for anaconda? How do we to control
>> the coding standard of anaconda, what is the tool or script to control
>> the coding standard of anaconda?
> We try to stick to basic Python coding style and PEP 8 and we use pylint
> to check the sources. You can run 'tests/pylint/run_pylint.sh' to check
> all the sources.
>
> Other than that, you may run 'make check' to perform all the tests and
> checks we have.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux