[Checkins] [zopefoundation/Record] 3d26c9: Rewrite tests as unit tests.

GitHub noreply at github.com
Sat May 4 15:47:30 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Record
  Commit: 3d26c90f5e3a25e9d48e7ec47b67162800017388
      https://github.com/zopefoundation/Record/commit/3d26c90f5e3a25e9d48e7ec47b67162800017388
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.txt
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  Rewrite tests as unit tests.

git-svn-id: svn+ssh://svn.zope.org/repos/main/Record/trunk@127489 62d5b8a3-27da-0310-9561-8e5933582275


  Commit: 8509f22c8ced0cc90ffdddd18e7ab98f3f1cd17c
      https://github.com/zopefoundation/Record/commit/8509f22c8ced0cc90ffdddd18e7ab98f3f1cd17c
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M include/ExtensionClass/ExtensionClass.h

  Log Message:
  -----------
  Add copy of ExtensionClass.h


  Commit: 9a896eeea8f8b9769b67df85ea19d7cbbdda5e4e
      https://github.com/zopefoundation/Record/commit/9a896eeea8f8b9769b67df85ea19d7cbbdda5e4e
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M MANIFEST.in

  Log Message:
  -----------
  add MANIFEST.in


  Commit: 3dbf4467250887012f106b09342759156d6d0c1f
      https://github.com/zopefoundation/Record/commit/3dbf4467250887012f106b09342759156d6d0c1f
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  add ignores


  Commit: 53ced6f23f89097230ef67c0c848a9af47a710e4
      https://github.com/zopefoundation/Record/commit/53ced6f23f89097230ef67c0c848a9af47a710e4
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    A CHANGES.rst
    R CHANGES.txt
    A README.rst
    R README.txt
    M setup.py

  Log Message:
  -----------
  rename txt files to rst


  Commit: bc4fc2a6bb37e7542fdb6c794c71255299880ed6
      https://github.com/zopefoundation/Record/commit/bc4fc2a6bb37e7542fdb6c794c71255299880ed6
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py

  Log Message:
  -----------
  First cut at a basic Python implementation


  Commit: 2ef9adc49267bdea403ac3d7e7e4f11c7bd19947
      https://github.com/zopefoundation/Record/commit/2ef9adc49267bdea403ac3d7e7e4f11c7bd19947
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M README.rst
    M src/Record/__init__.py

  Log Message:
  -----------
  move docs into readme


  Commit: d59b1c78672c4b807239fedc2480e2f35c722708
      https://github.com/zopefoundation/Record/commit/d59b1c78672c4b807239fedc2480e2f35c722708
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  only the Record class itself is dict-less. Subclasses get an empty dict


  Commit: 4b884a901f4304d12368293ffa5c58c3be39f05e
      https://github.com/zopefoundation/Record/commit/4b884a901f4304d12368293ffa5c58c3be39f05e
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  next version will be 3.0


  Commit: cc3dbe275792af3550038ef2099efd5def182ec2
      https://github.com/zopefoundation/Record/commit/cc3dbe275792af3550038ef2099efd5def182ec2
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  Make sure nothing is stored in the `instance.__dict__`
A slots-less subclass might re-introduce a `__dict__`


  Commit: 33de146447948dcef0aef068d273decfdd617414
      https://github.com/zopefoundation/Record/commit/33de146447948dcef0aef068d273decfdd617414
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  Add support for `__contains__`


  Commit: 59f86f5781032d5c74876a046900ffc6b3a040e5
      https://github.com/zopefoundation/Record/commit/59f86f5781032d5c74876a046900ffc6b3a040e5
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  Make sure pickles of the old C type can be read


  Commit: 511c336f1449f3f3acccfc47cdbcebdc52565998
      https://github.com/zopefoundation/Record/commit/511c336f1449f3f3acccfc47cdbcebdc52565998
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  support all kinds of weird arguments to `__init__`


  Commit: d5cd0e819d05b30fbb3b1dddba948064570c3e6a
      https://github.com/zopefoundation/Record/commit/d5cd0e819d05b30fbb3b1dddba948064570c3e6a
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  correctly handle failure cases and support three-argument getattr


  Commit: dd4ad12845e267a2e43e59f3ede2b2ace630ceca
      https://github.com/zopefoundation/Record/commit/dd4ad12845e267a2e43e59f3ede2b2ace630ceca
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py

  Log Message:
  -----------
  actually match the old C behavior


  Commit: 0ce4ec963322c49e0c0ce4dda46d2004f54df678
      https://github.com/zopefoundation/Record/commit/0ce4ec963322c49e0c0ce4dda46d2004f54df678
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  implement and test del attr/item


  Commit: 4c8a54da079aa468ba174eb954078b224bb266f6
      https://github.com/zopefoundation/Record/commit/4c8a54da079aa468ba174eb954078b224bb266f6
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  implement/test slicing


  Commit: 049b22fe5b223e27c7866e593001b2b298cf2719
      https://github.com/zopefoundation/Record/commit/049b22fe5b223e27c7866e593001b2b298cf2719
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  implement/test add/mul


  Commit: 51402b80af5fbb687eefa0d1eb29d39d895874fe
      https://github.com/zopefoundation/Record/commit/51402b80af5fbb687eefa0d1eb29d39d895874fe
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py

  Log Message:
  -----------
  restore doc string


  Commit: ae7d9c81ec97273251553678acf982490351ee69
      https://github.com/zopefoundation/Record/commit/ae7d9c81ec97273251553678acf982490351ee69
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  implement/test len


  Commit: 110f6c566dd82fcb813bf9487184ea1ca16d1618
      https://github.com/zopefoundation/Record/commit/110f6c566dd82fcb813bf9487184ea1ca16d1618
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  implement/test comparision


  Commit: fa1df3d1fe43dee43900401c0fb8b1e1277e2f8c
      https://github.com/zopefoundation/Record/commit/fa1df3d1fe43dee43900401c0fb8b1e1277e2f8c
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py

  Log Message:
  -----------
  correctly deal with comparing distinct sub-classes of Record


  Commit: c8e44727e9808bbd11c86fefa123a2f9c26fbc3a
      https://github.com/zopefoundation/Record/commit/c8e44727e9808bbd11c86fefa123a2f9c26fbc3a
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  test repr/str


  Commit: 73f89aecaa2992070c96c4ad3952d46128e2d854
      https://github.com/zopefoundation/Record/commit/73f89aecaa2992070c96c4ad3952d46128e2d854
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  test runtime changes to `__record_schema__`


  Commit: 8f096333dd9211a09f9abb2648e229af53c82fac
      https://github.com/zopefoundation/Record/commit/8f096333dd9211a09f9abb2648e229af53c82fac
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  tolerate an additional `__init__` argument


  Commit: d06b674ea80f633c08c1af7cd197eff68e48d9aa
      https://github.com/zopefoundation/Record/commit/d06b674ea80f633c08c1af7cd197eff68e48d9aa
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  correct changelog - getattr three argument support was already there


  Commit: ed1cc8d3e82af2bb988644d0516426388403ae52
      https://github.com/zopefoundation/Record/commit/ed1cc8d3e82af2bb988644d0516426388403ae52
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Add changelog entry explaining C to Python class change


  Commit: de49a5c3b8e62fbab5de3e066c7890b6d56a5c63
      https://github.com/zopefoundation/Record/commit/de49a5c3b8e62fbab5de3e066c7890b6d56a5c63
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  protect against incomplete subclasses with an empty `__init__`
also protect against subclasses with a `_data` attribute


  Commit: f3ccc14e497993d53201c73f68e193eb84406061
      https://github.com/zopefoundation/Record/commit/f3ccc14e497993d53201c73f68e193eb84406061
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Remove claim about memory savings.

This was only true for very small schema/data sets.


  Commit: 34af37b0dc593d8a0ce7be519eb1efd21d635917
      https://github.com/zopefoundation/Record/commit/34af37b0dc593d8a0ce7be519eb1efd21d635917
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py

  Log Message:
  -----------
  don't construct empty internal data, if data if the right length is passed in


  Commit: beef63b10491b1207ab923fa408d40e536d33210
      https://github.com/zopefoundation/Record/commit/beef63b10491b1207ab923fa408d40e536d33210
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  add travis-ci


  Commit: 08940e6f1c249ea73a9298328b760a49b3ecc5eb
      https://github.com/zopefoundation/Record/commit/08940e6f1c249ea73a9298328b760a49b3ecc5eb
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M setup.py
    M src/Record/__init__.py

  Log Message:
  -----------
  add conditional C extension building


  Commit: 5a8aceb1bc40ea8ab07ac73fb838a9355cec1d41
      https://github.com/zopefoundation/Record/commit/5a8aceb1bc40ea8ab07ac73fb838a9355cec1d41
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/_Record.c

  Log Message:
  -----------
  whitespace


  Commit: e207847a3cbecff191d8d6d364035156b891a38c
      https://github.com/zopefoundation/Record/commit/e207847a3cbecff191d8d6d364035156b891a38c
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/_Record.c

  Log Message:
  -----------
  implement `__contains__` for the C version


  Commit: b571cb3c58d1de2a85c274d7e29272090a05157b
      https://github.com/zopefoundation/Record/commit/b571cb3c58d1de2a85c274d7e29272090a05157b
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/tests.py

  Log Message:
  -----------
  remove weird tests with differing behavior for Py/C versions


  Commit: f6b7f40ce8ad38cc36b798d02e0dc66ca645bc7d
      https://github.com/zopefoundation/Record/commit/f6b7f40ce8ad38cc36b798d02e0dc66ca645bc7d
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M src/Record/__init__.py
    M src/Record/tests.py

  Log Message:
  -----------
  Preserve `ExtensionClass.Base` base class


  Commit: 08c8cb5e547b6716a6e9c083536ea542c444540f
      https://github.com/zopefoundation/Record/commit/08c8cb5e547b6716a6e9c083536ea542c444540f
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M CHANGES.rst
    M setup.py

  Log Message:
  -----------
  correct changelog and add trove classifiers


  Commit: 5c04fc78c0138eabb6a287ecf2f78e5eaa3d76ca
      https://github.com/zopefoundation/Record/commit/5c04fc78c0138eabb6a287ecf2f78e5eaa3d76ca
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  try running tests under PyPy


Compare: https://github.com/zopefoundation/Record/compare/68a70e67c875...5c04fc78c013


More information about the checkins mailing list