Re: Unit Testing anaconda addons?

Pat Riehecky <[email protected]>
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <[email protected]>

On 01/20/2016 10:35 AM, Chris Lumens wrote:
>> I've been building up some tests for my addon, but I've run into an
>> interesting problem.
>>
>> How do I interact with the ThreadMgr within my tests?  It seems to be
>> None.....
> If it's None, that means initThreading has not been called which would
> be weird.  Do you have your code posted somewhere for us to look at?  It
> might be easier to figure out what is going on.
>
> - Chris

Sure!

git clone https://cdcvs.fnal.gov/projects/scientificlinux-anaconda-context/

and to run the unit tests

cd anaconda-context; python org_scientificlinux_contexts/tests

There is only the one test that errors out.

Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.