"Gary" <[EMAIL PROTECTED]> writes:
Hi again,
> First, thanks to both Kent and Edvard for useful comments.
> I certainly need to consider whether it make sense to switch to py.test at
> this time; its simplicity is attractive.
For what it's worth, I've also coded a simple py.test skeleton gener
First, thanks to both Kent and Edvard for useful comments. I certainly
need to consider whether it make sense to switch to py.test at this
time; its simplicity is attractive.
In response to Edvards question:
Edvard Majakari wrote:
> "Gary" <[EMAIL PROTECTED]> writes:
...
> > self.Assert
"Gary" <[EMAIL PROTECTED]> writes:
[ py.test ad follows :) ]
> def test_SomeTest(...):
> ...
> self.AssertAllFilesExist(fileList)
>
> or
>
> def test_SomeTest(...):
> ...
> [ self.AssertFileExists(f) for f in fileList ]
I prefer the latter, because t
Gary wrote:
I'm working on a project where I'm doing various file manipulations.
I'm not familiar with the idioms are common or good for this situation,
so I'd appreciate advice and suggestions.
Question 1: A number of checks apply to a set of files. So I'm
wondering whether to have something lik