[Checkins] [zopefoundation/ZODB] dedd5a: Fix test to no longer depend on what time is

GitHub noreply at github.com
Sun Jul 24 00:38:07 CEST 2016


  Branch: refs/heads/fix-84
  Home:   https://github.com/zopefoundation/ZODB
  Commit: dedd5a2810a315eb4b804552010589136d31aa1c
      https://github.com/zopefoundation/ZODB/commit/dedd5a2810a315eb4b804552010589136d31aa1c
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
    M src/ZODB/FileStorage/iterator.test

  Log Message:
  -----------
  Fix test to no longer depend on what time is

There's no reason to care.

(And a change in db root-object setup shifted the old test times.)


  Commit: 03b81838a52c4d723c719fb3bed7d7e21a8cd594
      https://github.com/zopefoundation/ZODB/commit/03b81838a52c4d723c719fb3bed7d7e21a8cd594
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-07-23 (Sat, 23 Jul 2016)

  Changed paths:
    M src/ZODB/Connection.py
    M src/ZODB/DB.py
    M src/ZODB/tests/dbopen.txt
    A src/ZODB/tests/fix84.rst
    M src/ZODB/tests/synchronizers.txt
    M src/ZODB/tests/testCache.py
    M src/ZODB/tests/testConnection.py
    M src/ZODB/tests/testDB.py

  Log Message:
  -----------
  Changed DB root-object-initialization to use an open connection and more

This fixes #84.

Also:

- Added missing transaction ``begin`` call in the DB ``transaction()``
  context manager.

- Added the ability to add a transaction note whan calling
  ``transaction()``.  This is useful (as would be the ability to pass
  in other transaction meta data, but this was needed by (and this
  tested) to make an existing test pass.


Compare: https://github.com/zopefoundation/ZODB/compare/dedd5a2810a3^...03b81838a52c


More information about the checkins mailing list