Brilliant! Thank you.

Got my first integration test working.

The old one that was in there for LDAP testing didn't seem to work...
there was a line of code that went like login = login.loginCmd() I
don't know python but I assume that causes some local/global
conflicts?

On 11 July 2013 15:52, Prasanna Santhanam <t...@apache.org> wrote:
> On Thu, Jul 11, 2013 at 03:48:17PM +0100, Ian Duffy wrote:
>> Test case(uncompleted) https://gist.github.com/imduffy15/4e3a505cbc2a662acc6e
>>
>> Using the command:
>>
>> nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg
>> test/integration/component/test_ldap.py
>
> nosetests --with-marvin --marvin-config=setup/dev/local.cfg
> test/integration/component/test_ldap.py --load
>
> Don't forget the load (that only loads the config and doesn't fire up
> a zone)
>
>>
>> --marvin-config is in there as it requires a configuration file to run.
>> It being there means advanced.cfg is deployed as a configuration
>> before running the test.
>>
>> Attempting to execute the test without cleaning out the database
>> results an error about the zone already existing from the deployment
>> of the advanced.cfg.
>>
>> If possible I would like to test without deploying a datacenter.
>>
>> Thanks again!
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com
>

Reply via email to