4teamwork / ftw.builder

Builder pattern for creating Plone objects in tests
3 stars 0 forks source link

Add creation date setter for PloneObject builders. #39

Closed mbaechtold closed 9 years ago

mbaechtold commented 9 years ago

This is useful if you need to compare your test objects including the creation date. Without setting the creation date manually, the date would be different in each run.

/cc @phgross

phgross commented 9 years ago

Changes are looking :+1:

Those the with_creation_date method also work with dexterity objects, could you add a test?

When not, thats maybe the reason why the Plone 5 tests are failing...

mbaechtold commented 9 years ago

@phgross: with_creation_date should work with DX objects now. Could you please have another look?

/cc @jone

phgross commented 9 years ago

:+1: please update the PR description ...