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

GitHub noreply at github.com
Sat May 4 14:16:25 UTC 2013


  Branch: refs/heads/pure-python
  Home:   https://github.com/zopefoundation/Record
  Commit: f99438efccd9df649a70b724dbd1c18df150bbdc
      https://github.com/zopefoundation/Record/commit/f99438efccd9df649a70b724dbd1c18df150bbdc
  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: 613c43c333c4120a8f59a8b988afad2973207a5e
      https://github.com/zopefoundation/Record/commit/613c43c333c4120a8f59a8b988afad2973207a5e
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    A include/ExtensionClass/ExtensionClass.h

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


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

  Changed paths:
    A MANIFEST.in

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


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

  Changed paths:
    A .gitignore

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


  Commit: 8fb549eaeabde75932d791e5323d75f620dea7f3
      https://github.com/zopefoundation/Record/commit/8fb549eaeabde75932d791e5323d75f620dea7f3
  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: 50440e100114444ae0db140fa7584e4b52e4911e
      https://github.com/zopefoundation/Record/commit/50440e100114444ae0db140fa7584e4b52e4911e
  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: 0ab65ff1d5d778a7c31c5512cb5442f47a62b846
      https://github.com/zopefoundation/Record/commit/0ab65ff1d5d778a7c31c5512cb5442f47a62b846
  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: ee3291fc6f0abbef26641bfee378d43bd34fe431
      https://github.com/zopefoundation/Record/commit/ee3291fc6f0abbef26641bfee378d43bd34fe431
  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: 674fd0b5c129afd7422de63a9f54d11f8671287a
      https://github.com/zopefoundation/Record/commit/674fd0b5c129afd7422de63a9f54d11f8671287a
  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: e31181a3139c9e47065e7538b43750f0d2a7467b
      https://github.com/zopefoundation/Record/commit/e31181a3139c9e47065e7538b43750f0d2a7467b
  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: 4b3da403ff232f5ef96fdc1d87169fb3b9d8b990
      https://github.com/zopefoundation/Record/commit/4b3da403ff232f5ef96fdc1d87169fb3b9d8b990
  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: 850bd32858bfa97a0d92eb40b0a8017cc137910c
      https://github.com/zopefoundation/Record/commit/850bd32858bfa97a0d92eb40b0a8017cc137910c
  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: 83eb980048d66b7595bf6ec456d4d68cc47ba1f3
      https://github.com/zopefoundation/Record/commit/83eb980048d66b7595bf6ec456d4d68cc47ba1f3
  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: b04cdbd720930b735ed95ba2461de2436a5aa073
      https://github.com/zopefoundation/Record/commit/b04cdbd720930b735ed95ba2461de2436a5aa073
  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: bb5cb35d8c63e8c69b639430f0395abe61f76fe3
      https://github.com/zopefoundation/Record/commit/bb5cb35d8c63e8c69b639430f0395abe61f76fe3
  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: 3123e3f0c7e27b059b0a03adfb397471183a1991
      https://github.com/zopefoundation/Record/commit/3123e3f0c7e27b059b0a03adfb397471183a1991
  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: 60c9fdc3ef8ea613e764a06c60958a9864990f2a
      https://github.com/zopefoundation/Record/commit/60c9fdc3ef8ea613e764a06c60958a9864990f2a
  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: 764cdf7d5f3e4350525a90a9a546ac3716bde083
      https://github.com/zopefoundation/Record/commit/764cdf7d5f3e4350525a90a9a546ac3716bde083
  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: c08b452f6a9630715d6c7876cfd34a7faadba102
      https://github.com/zopefoundation/Record/commit/c08b452f6a9630715d6c7876cfd34a7faadba102
  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: 96f49e976d191c93c7dfcbd4099f9fdce77cb9e6
      https://github.com/zopefoundation/Record/commit/96f49e976d191c93c7dfcbd4099f9fdce77cb9e6
  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: f281061deb98f19ccd43dc4dbaf8d5bdb39a79a0
      https://github.com/zopefoundation/Record/commit/f281061deb98f19ccd43dc4dbaf8d5bdb39a79a0
  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: 391ae96139327c6988b5ad6bd23d5a5b0d0d04a6
      https://github.com/zopefoundation/Record/commit/391ae96139327c6988b5ad6bd23d5a5b0d0d04a6
  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: 91c08a2b3cd8701b417394af8f75375cbedab0a0
      https://github.com/zopefoundation/Record/commit/91c08a2b3cd8701b417394af8f75375cbedab0a0
  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: 41cb6bc07a6b51d560b7cba80a97e8319b53dfcb
      https://github.com/zopefoundation/Record/commit/41cb6bc07a6b51d560b7cba80a97e8319b53dfcb
  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: 048ec0299c0bca54c643382cce66326df545c2a8
      https://github.com/zopefoundation/Record/commit/048ec0299c0bca54c643382cce66326df545c2a8
  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: 6548177e26a326954ff82a41058ce01ca8cc689b
      https://github.com/zopefoundation/Record/commit/6548177e26a326954ff82a41058ce01ca8cc689b
  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: 477fe230e4ab0dacde5bdb813e1793f4cc2c4731
      https://github.com/zopefoundation/Record/commit/477fe230e4ab0dacde5bdb813e1793f4cc2c4731
  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: 7fd7b57ae56e6b40a36b2c1db1544edef21af52a
      https://github.com/zopefoundation/Record/commit/7fd7b57ae56e6b40a36b2c1db1544edef21af52a
  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: ec54d63bdbd9875ef84e0b4984f4bee216d7d3d1
      https://github.com/zopefoundation/Record/commit/ec54d63bdbd9875ef84e0b4984f4bee216d7d3d1
  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: 915212f68e969f00370ebf263a6cfa05196dfa19
      https://github.com/zopefoundation/Record/commit/915212f68e969f00370ebf263a6cfa05196dfa19
  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: b71f7b60cda368c10d46f72e0e4fe31059d74f95
      https://github.com/zopefoundation/Record/commit/b71f7b60cda368c10d46f72e0e4fe31059d74f95
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2013-05-04 (Sat, 04 May 2013)

  Changed paths:
    A .travis.yml

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


Compare: https://github.com/zopefoundation/Record/compare/f99438efccd9^...b71f7b60cda3


More information about the checkins mailing list