[ckan-changes] [ckan/ckan] b7ffdf: [#1386] The factories' tests must work without res...

GitHub noreply at github.com
Tue Apr 15 19:04:14 UTC 2014


  Branch: refs/heads/1386-improve-factories
  Home:   https://github.com/ckan/ckan
  Commit: b7ffdf299e450159044c54df822ec060d71731f2
      https://github.com/ckan/ckan/commit/b7ffdf299e450159044c54df822ec060d71731f2
  Author: Vitor Baptista <vitor at vitorbaptista.com>
  Date:   2014-04-15 (Tue, 15 Apr 2014)

  Changed paths:
    M ckan/new_tests/test_factories.py

  Log Message:
  -----------
  [#1386] The factories' tests must work without reseting the DB between methods

The factories' methods should work no mater which order they're called, nor how
many times they're called. Because of this, we don't need to reset the DB
inbetween each test method. If this doesn't work, it's because the factories
are broken.




More information about the ckan-changes mailing list