its not the nose version, its the Marvin plugin which has change. It was changed in 4.4-forward and master ________________________________________ From: Luis Henrique Okama [ok...@corp.globo.com] Sent: Wednesday, July 23, 2014 1:25 PM To: dev@cloudstack.apache.org Cc: Santhosh Edukulla; Daan Hoogland; int-toolkit Subject: Re: Need edit rights for Wiki to improve Marvin - Testing with Python tutorial
Hi Miguel and Santhosh, I actually was the person who edited the wiki page and inserted the '--load' option to run nosetest in the past. I'm running nosetest v. 1.3.3 and without '--load' option, the nosetest returns an error. Which version of nosetest are you guys using? cheers, On Wed, Jul 23, 2014 at 9:46 AM, Miguel Ferreira <mferre...@schubergphilis.com<mailto:mferre...@schubergphilis.com>> wrote: I’ve fixed all problems I found with that page. Cheers, Miguel On 23 Jul 2014, at 12:28, Santhosh Edukulla <santhosh.eduku...@citrix.com<mailto:santhosh.eduku...@citrix.com>> wrote: > These were new changes done to marvin, during the same time, we edited wiki > pages to reflect the changes, either it was reedited by some body or this > particular place got missed. Please add the one with latest. > > I can add that change for you if you require. > > Santhosh > ________________________________________ > From: Miguel Ferreira > [mferre...@schubergphilis.com<mailto:mferre...@schubergphilis.com>] > Sent: Wednesday, July 23, 2014 6:23 AM > To: Daan Hoogland > Cc: dev; int-toolkit > Subject: Re: Need edit rights for Wiki to improve Marvin - Testing with > Python tutorial > > Thanks Daan, > > By the way, just posted this on IRC dev channel, but got no reply there so > here it goes: >> In the section about running a test from command line, there is a command >> like this: "nosetests --with-marvin --marvin-config=demo.cfg --load >> test_deploy_vm.py" >> However, the version I have of nosetests (installed recently) does not have >> a "—load" options >> Furthermore, running the smoke tests from command line always fails because >> the nose-marvin-plugin does not inject the apiclient into the test case >> (that is because te plugin only doe injection when loading tests form >> TestCase class and not from name, as it happens from the command line) > > Should I be using a specific/patched version of nosetests? > Or should the “run from command line” section be removed? > > Cheers, > Miguel > > > On 23 Jul 2014, at 12:16, Daan Hoogland > <daan.hoogl...@gmail.com<mailto:daan.hoogl...@gmail.com>> wrote: > >> On Wed, Jul 23, 2014 at 11:56 AM, Miguel Ferreira >> <mferre...@schubergphilis.com<mailto:mferre...@schubergphilis.com>> wrote: >>> miguelferreira >> >> >> in >> >> -- >> Daan > -- Atc, Okama