knipknap/SpiffWorkflow — Issue #2: PatternTest.testPattern is failing
Author: filipefigcorreia
Created: 2011-12-30 14:53:41+00:00
State: open

It is failing with the following callstack:

```
Traceback (most recent call last):
File "/home/fcorreia/virtualenvs/gisa/src/spiffworkflow/tests/SpiffWorkflow/PatternTest.py", line 80, in testPattern
for filename in os.listdir(dirname):
OSError: [Errno 2] No such file or directory: '/home/fcorreia/virtualenvs/gisa/src/spiffworkflow/tests/SpiffWorkflow/xml/spiff/resource/'
```

It happens because the test is looking for .xml files in a "resource" directory, that does not exist. I've fixed it on my end by ignoring that directory, but it might just have been forgotten on the previous commits.