[TIP] Cannot load my fixtures (fixture 1.4)
raphael.marvie at univ-lille1.fr
Mon Feb 4 06:20:31 PST 2013
I am trying to use fixture (v1.4, w/ sqlobject 1.3.2) in order to
present the use of fixtures in my course on testing. Using the
documentation I was not able to make an `hello world', having the
fixture.exc.LoadError: TypeError: Author() did not get expected keyword
argument 'first_name' (with 'frank_herbert' of
'<fixture.dataset.dataset.frank_herbert object at 0x7f625835a650>' in
<Authors at 0x7f625834cb10 with keys ['frank_herbert']>)
It is raised when executing the setup() on my dbfixture.data [full
source code, 37 lines, attached].
Does any one see an evident mistake I make?
LIFL - Université Lille 1
+33 3 20 33 59 51
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 626 bytes
Desc: not available
More information about the testing-in-python