On Thu, Aug 11, 2016 at 12:07 PM likage <[email protected]> wrote:
> I am doing a simple unittest in maya while using chadvernon page as an > example.. > > I tried something very simple such as creating a polyCube, while that > works, I had thought of replacing the line with a custom node creation in > which its code comes from my company's proprietary library. > As soon as I run this updated code, I got an error - *ValueError: No > object matches name: Stack *in which I think it is telling me that it is > unable to locate this particular node name.. > Sounds right. > > However, if I run the same code in Maya editor, it is working perfectly > fine. > How are you running the unit tests? > > So my question here would be: > 1. How would I know what items are created in each scene (as mentioned in > the site)? > What site? Where is the link? > 2. Is it a reliable method that I tested my code in maya (just to check a > few process) then copy into the testing? In the above example, I am already > getting a failing result.. > Could be. As long as you unit tests run under the same environment in which Maya was launched? > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/6b090880-7b39-46ee-8140-ace2c618c89b%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/6b090880-7b39-46ee-8140-ace2c618c89b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2WH9qkGoo-KaNvpW4h%3DdvB%3DmragzJ8t%3DnPew%2BCK%2B%3DtSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
